@finosync/create-lex-app v2.0.8
π LEX - The Next Generation Software Development Framework
π Create Lex App - The Fastest Way to Build Lex Apps
Pre-built Authentication, User Dashboard, Routes & Lex Dev Tools
A powerful React & TypeScript template for building Lex apps in minutes.
πΉ AutonomousStackβ’
AI-Driven Innovation | Military-Grade Security | Autonomous Backend & UI
Lex redefines traditional software development by eliminating the need for separate frontend and backend engineers, replacing complexity with automation powered by Lex Engineers.
With its AI-powered ecosystem, pre-built components, and autonomous backend, you can generate a fully functional application instantly.
πΉ Whatβs Inside?
This template is built with modern web technologies and comes pre-configured with:
β
React 18 + Vite (Fast, optimized frontend framework)
β
Lex Developer Tools (@finosync/lex-dev-core) for in-app debugging
β
Pre-built User Authentication using Auth0
β
MongoDB integration for data storage
β
Tailwind CSS for styling & responsive design
β
Pre-built Dashboard & Routing system
β
TypeScript for strict type safety
β
.env.example - All required environment variables pre-configured
π‘ Why Lex?
80% of development is done for you.
Just configure, manage functions, and deploy.
β‘ Transform Your Applications with Lex
Lex is designed to instantly deploy AI-driven, enterprise-grade applications with pre-configured authentication, security, CMS, data pipelines, and API management.
β¨ Instant Application Deployment
β
Generate a fully functional app instantly
β
Pre-built UI management, authentication, and security
β
Auto-configured API integrations
β
Deploy and scale without complex configurations
π§ AI-Driven, Autonomous Backend & Function Management
π‘ Pre-configured functions for your application
π‘ AI-powered function generation with ViDat and OpenAI
π‘ Write functions directly in the IDE with Lex Dev Tools AI based assistance
π‘ Supports TypeScript and JavaScript
π‘οΈ Enterprise-Grade Security
π Military-grade security with IAM, OAuth, Federated Authentication, and Cyber Actions
π Get Started
1οΈβ£ Quick Start (Recommended)
Create a new Lex app with a single command:
1οΈβ£ Install & Create a New Lex App
npx @finosync/create-lex-app my-lex-appor globally:
npm i -g @finosync/create-lex-app
create-lex-app my-lex-app2οΈβ£ Navigate into your new project
cd my-lex-app3οΈβ£ Install Dependencies
npm install4οΈβ£ Start Development Server
npm run devπ How to Create a Lex App?
Creating a Lex app is simple and requires just a few steps:
1οΈβ£ Run the Command
No need to specify a nameβjust run:
npx @finosync/create-lex-app2οΈβ£ Enter Your Project Name
You'll be prompted to enter a name for your project. Choose a relevant name like:
MyLexApp3οΈβ£ Select Your Framework
When prompted, choose:
React-TS (React with TypeScript)This will generate a fully configured Lex app
4οΈβ£ Navigate to Your New Project
cd my-lex-app5οΈβ£ Install Dependencies
npm install6οΈβ£ Add Required Environment Variables
Before running the app, update your .env file with Auth0 and other required settings:
# Auth0 Configuration
VITE_AUTH0_DOMAIN=your-auth0-domain
VITE_AUTH0_CLIENT_ID=your-auth0-client-id
# MongoDB Configuration
VITE_MONGO_URI=mongodb+srv://your-user:your-password@cluster.mongodb.net/your-db
# Lex Dev Tools (Enable/Disable)
VITE_LEX_DEV_MODE=true7οΈβ£ Start Your App
Once you've added the required environment variables, start the development server:
npm run devπ Need More Help?
If you're unsure about how to set up Auth0, configure the dashboard, or manage environment variables, visit our Quick Start Guide:
π Lex Quick Start Documentation
π οΈ Features
π₯ Instant App Setup
- React 18 + Vite-powered development
- Pre-built authentication using Auth0
- User dashboard & navigation pre-configured
- Lex Dev Tools for debugging & development
- Pre-configured environment variables (
.env.example) - MongoDB database integration
π‘ Seamless Developer Experience
- TypeScript for strong typing & error prevention
- TailwindCSS for rapid styling
- Lex Developer Tools (
@finosync/lex-dev-core) - Heroicons & Framer Motion for UI animations
π Project Structure
When you run npx @finosync/create-lex-app my-lex-app, it generates:
my-lex-app/
βββ dist/ # Production build output (generated)
βββ node_modules/ # Installed dependencies (generated)
βββ public/ # Static assets (index.html, icons, etc.)
βββ src/ # Source code
β βββ backend/config/ # Contains lex.config.ts for enabling Lex Dev Tools
β βββ backend/database/ # MongoDB database connection
β βββ components/ # Shared UI components
β βββ pages/ # Page-based routing system
β βββ App.tsx # Main app component
β βββ main.tsx # Entry point
β βββ index.css # Global styles
βββ .env.example # Environment variables reference
βββ .gitignore # Files to ignore in Git
βββ eslint.config.js # ESLint configuration
βββ index.html # Root HTML file
βββ lex.dev.tsx # Lex Dev Tools configuration
βββ LICENSE # MIT License
βββ package.json # Project dependencies
βββ package-lock.json # Lock file for package dependencies
βββ README.md # This file
βββ tsconfig.json # TypeScript configuration
βββ tsconfig.app.json # TypeScript config for app
βββ tsconfig.node.json # TypeScript config for Node.js
βββ vite.config.ts # Vite configurationπ Configuration
π§ Update Your .env File
After creating your Lex app, update the .env file:
# Auth0 Configuration
VITE_AUTH0_DOMAIN=your-auth0-domain
VITE_AUTH0_CLIENT_ID=your-auth0-client-id
# MongoDB Configuration
VITE_MONGO_URI=mongodb+srv://your-user:your-password@cluster.mongodb.net/your-db
# Lex Dev Tools (Enable/Disable)
VITE_LEX_DEV_MODE=trueπ‘ How to Enable Lex Developer Tools?
Lex Dev Tools (@finosync/lex-dev-core) is already included in your Lex App.
To enable it, modify src/backend/config/lex.config.ts:
export const LexConfig = {
isDevMode: import.meta.env.VITE_LEX_DEV_MODE === "true", // β
Enable in dev mode
enableDevTools: true, // β
Enable Lex Dev Tools
enableLogging: true, // β
Optional: Enable logging for debugging
};π¦ Dependencies
This template includes the following pre-installed dependencies:
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"@finosync/lex-dev-core": "^1.0.0",
"@heroicons/react": "^2.2.0",
"framer-motion": "^12.4.1",
"mongoose": "^6.3.1",
"express": "^4.18.2"
},
"devDependencies": {
"@vitejs/plugin-react": "^4.3.4",
"tailwindcss": "^4.0.3",
"typescript": "~5.6.2",
"vite": "^6.0.5"
}π Documentation
π Full Documentation: FinoSync Docs
π€ Contributing
Lex App is open-source & community-driven.
If youβd like to contribute, feel free to open issues, submit PRs, or suggest features.
π° Support & Sponsorship
π If you find this project useful, consider sponsoring it to support development:
π© Support & Contact
For questions, issues, or support, contact us at:
π§ support@finosync.com
π¬ Join the Community:
πΉ Built & Maintained by FinoSync
πΉ Join our community on Discord
π‘οΈ License
MIT License - Free for personal and commercial use.
πΉ Built & Maintained by FinoSync
πΉ Contributions are welcome! Submit PRs or issues on GitHub.
π₯ LEX is the future of software development. Start building today! π