A fast and flexible CLI tool to scaffold a modern full-stack monorepo using Vite for the frontend and Express or NestJS for the backend — fully integrated with Turborepo, .env
configuration, and modular folder structure.
- ⚙️ Monorepo scaffold with Turborepo
- ⚛️ Frontend setup with Vite + React (JS/TS)
- 🧐 Backend setup with Express or NestJS
- 📆 Environment variable support out-of-the-box
- ↻ Auto-linked frontend/backend dev scripts
- 📄 Auto-generated
.env
,turbo.json
, andpackage.json
- ✅ Works with
npx
— no install required
npx create-fullstack-vite my-app
Then follow the prompts to select:
- Frontend framework: React + JavaScript / React + TypeScript
- Backend framework: Express / NestJS
cd my-app
npm run dev
my-app/
├── frontend/ # Vite-based React app
├── backend/ # Express or NestJS backend
├── .env # Environment variables shared across apps
├── turbo.json # Turborepo task configuration
└── package.json # Monorepo root with dev/build scripts
We welcome contributions! Here’s how to get started:
git clone https://github.com/your-username/create-fullstack-vite.git
cd create-fullstack-vite
npm install
npm link
# Now test it as a CLI:
create-fullstack-vite my-local-test
- Create a new branch:
git checkout -b feature/my-feature
- Make your changes
- Commit and push:
git commit -am "feat: added xyz"
thengit push origin feature/my-feature
- Open a Pull Request
We're actively working on these improvements. Feel free to pick one and open a PR!
- Add support to serve frontend build from backend
- Dockerize the FS web app
- Deploy script to Build-Push-Deploy the docker image
- Improve NestJS backend scaffolding (better .env injection, cleanup files)
- Add Database configuration templates (PostgreSQL, MongoDB)
- Add full login module (Frontend + Backend integration)
- Add option to choose Tailwind / MUI for frontend styling
- Add GitHub Actions for CI/CD
create-fullstack-vite is licensed under the MIT License. See the LICENSE.md file for details.
If you found this useful or need help:
- Open an issue
- Or reach out via Discussions