Rapidly build modern apps with everything pre-configured and ready to use.
A monorepo pre-configured project powered by Turborepo, featuring a Next.js web app, an Expo mobile app, and Node.js Vercel serverless APIs.
Get started with SumitApp in seconds:
npx create-sumit-app my-sumit-app
cd my-sumit-app
bun devOr install in the current directory:
npx create-sumit-app .
bun dev- Turborepo for blazing-fast builds and caching
- Shared packages for components, utilities, and configurations
- Optimized workspace management with Bun
- Next.js 16 web application with App Router
- Expo 54 mobile app for iOS and Android
- Node.js 22 serverless APIs with Vercel deployment
- Tailwind CSS 4 for styling
- Shadcn UI components for accessibility
- React Native Paper for mobile UI
- Dark/Light theme support
- Responsive design across all platforms
- TypeScript 5 for type safety
- ESLint 9 and Prettier 3 for code quality
- React Compiler for optimized builds
- Hot reload and fast refresh
- Comprehensive tooling and scripts
@packages/components- Reusable UI components@packages/hooks- Custom React hooks@packages/utils- Utility functions@packages/validations- Zod schemas@packages/types- TypeScript definitions
sumitapp/
βββ π assets/ # Brand assets and logos
βββ π οΈ cli-tool/ # create-sumit-app CLI
βββ π official-site/ # Official documentation site
βββ π¦ project-template/ # Main project template
βββ π packages/ # Shared packages
β βββ components/ # UI components
β βββ hooks/ # React hooks
β βββ utils/ # Utilities
β βββ validations/ # Zod schemas
β βββ types/ # TypeScript types
β βββ eslint-config/ # ESLint configuration
β βββ typescript-config/ # TypeScript configuration
βββ π projects/ # Applications
βββ π website/ # Next.js web app
βββ π± mobile/ # Expo mobile app
βββ β‘ backend/ # Node.js API
bun dev # Start all projects in development mode
bun run build # Build all projects
bun lint # Lint all projects
bun format # Format code with Prettier
bun check-types # Type check all projects
bun clean # Clean all build artifacts (Note: Before cleaning, ensure the editor/IDE is closed.)# Website (Next.js)
bun --cwd=projects/website dev
cd projects/website
bun dev # Start development server
bun run build # Build for production
bun start # Start production server
# Mobile (Expo)
bun --cwd=projects/mobile dev
cd projects/mobile
bun dev # Start Expo development server
bun android # Run on Android device/emulator
bun ios # Run on iOS device/simulator
# Backend (Node.js)
bun --cwd=projects/backend dev
cd projects/backend
bun dev # Start development server
bun run build # Build for productionSumitApp is optimized for Vercel deployment with support for both the Next.js website and Node.js serverless APIs. Follow these steps to deploy your project using the Vercel Dashboard:
- GitHub Repository: Push your code to a GitHub repository
- Vercel Account: Sign up at vercel.com
- Environment Variables: Prepare any required environment variables
- Go to vercel.com/dashboard
- Click "Add New..." β "Project"
- Select "Import Git Repository"
- Choose your GitHub repository containing the SumitApp project
- Click "Import"
You'll need to create two separate deployments for optimal performance:
-
Project Settings:
- Project Name:
your-app-name-website - Framework Preset: Next.js
- Root Directory:
projects/website
- Project Name:
-
Build & Development Settings:
- Build Command:
cd ../.. && bun run build --filter=website - Output Directory:
.next - Install Command:
cd ../.. && bun install - Development Command:
cd ../.. && bun run dev --filter=website
- Build Command:
-
Environment Variables (if needed):
- Add any frontend-specific environment variables
- Example:
NEXT_PUBLIC_API_URL,NEXT_PUBLIC_SITE_URL
-
Click "Deploy"
-
Create Second Project:
- Go back to Vercel dashboard
- Import the same repository again
- Project Name:
your-app-name-api
-
Project Settings:
- Framework Preset: Other
- Root Directory: Leave empty (deploy from root)
-
Build & Development Settings:
- Build Command:
bun run build --filter=backend - Output Directory:
projects/backend/dist - Install Command:
bun install - Development Command:
bun run dev --filter=backend
- Build Command:
-
Functions Configuration:
- Vercel will automatically detect API routes in
projects/backend/api/ - No additional configuration needed
- Vercel will automatically detect API routes in
-
Environment Variables (if needed):
- Add backend-specific environment variables
- Example:
DATABASE_URL,JWT_SECRET,API_KEY
-
Click "Deploy"
-
Website Domain:
- In your website project settings, go to "Domains"
- Add your custom domain (e.g.,
yourapp.com) - Follow DNS configuration instructions
-
API Domain:
- In your backend project settings, go to "Domains"
- Add your API subdomain (e.g.,
api.yourapp.com) - Update your frontend to use the new API URL
- Website loads correctly at the Vercel URL
- API endpoints respond properly
- Environment variables are configured
- Custom domains are set up (if applicable)
- CORS settings allow frontend to access backend
- Database connections work (if applicable)
- Error monitoring is set up
Once configured, Vercel will automatically:
- Deploy on git push to your main branch
- Preview deployments for pull requests
- Rollback if builds fail
- Cache builds for faster deployments
- Next.js 16 - React framework with App Router
- React 19 - Latest React with concurrent features
- Tailwind CSS 4 - Utility-first CSS framework
- Radix UI - Accessible component primitives
- Motion - Animation library
- Lucide React - Beautiful icons
- Expo 54 - React Native development platform
- React Native 0.81 - Cross-platform mobile framework
- NativeWind 5 - TailwindCSS 4 for React Native
- React Native Paper - Material Design components
- Expo Router - File-based routing
- Node.js 22 - JavaScript runtime
- Express 5 - Web framework
- Vercel - Serverless deployment platform
- TypeScript 5 - Type-safe JavaScript
- Turborepo - Monorepo build system
- Bun - Fast JavaScript runtime and package manager
- TypeScript - Static type checking
- ESLint - Code linting
- Prettier - Code formatting
- React Compiler - Optimizing compiler
- Legend State - Fast and flexible state management
- Zod - TypeScript-first schema validation
- Date-fns - Date utility library
- Axios - HTTP client
Sumit Paul
- Website: sumitttpaul.vercel.app
- LinkedIn: @sumitttpaul
- GitHub: @sumittttpaul
- Turborepo for the amazing monorepo tooling
- Next.js for the incredible React framework
- Expo for simplifying mobile development
- Vercel for seamless deployment
Made with β€οΈ by Sumit Paul
β Star this repo if you find it helpful!

