🎯 Generate production-ready MERN stack applications in minutes. Automated MongoDB Atlas setup, pre-configured Express backend, and modern React frontend with Tailwind CSS - all with one command! ✨
# Create a new MERN project (No installation needed)
npx mernboot
# If you already have a package.json
npm install mernboot
npm run mernboot
# Optional: Install globally to use anywhere
npm install -g mernboot
mernboot
- 🔄 Automated cluster creation
- 🔑 Secure authentication setup
- 📊 Database configuration
- 🔌 Connection string management
- 📁 MVC architecture
- 🛣️ Pre-configured routes
- 🔒 Middleware setup
- 🎯 Best practices structure
- ⚡ Vite for blazing fast development
- 🎨 Tailwind CSS pre-configured
- 📱 Responsive layouts
- 🎯 Modern development setup
- 🔄 Hot reloading
- 📝 Environment variables
- 🛠️ Concurrent development servers
- 📦 Dependency management
my-app/
├── client/ # React Frontend
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ └── App.jsx
│ └── package.json
│
| # Express Backend
│── controllers/
│── models/
│── routes/
│── middleware/
│── server.js
│
├── .env # Environment Variables
└── package.json
npx mernboot
# Choose MongoDB Atlas Setup from the menu
# Follow the interactive prompts for:
# - Project creation
# - Cluster setup
# - Database user configuration
# Start both frontend and backend
npm run dev:all
# Or start them separately
npm run dev:server # Backend only
npm run dev:client # Frontend only
Command | Description |
---|---|
npm run dev:all |
Start both frontend and backend |
npm run dev:server |
Start backend only |
npm run dev:client |
Start frontend only |
npm run build |
Build frontend |
npm start |
Start production server |
PORT=5000
MONGODB_URI=your_mongodb_uri
NODE_ENV=development
- MongoDB Atlas configuration
- Custom port settings
- Development/Production modes
- CORS settings
- Node.js 14.0 or later
- npm 6.0 or later
- MongoDB Atlas account (free tier works great!)
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- MongoDB Atlas for database hosting
- Express.js for backend framework
- React for frontend library
- Node.js for runtime environment
- Tailwind CSS for styling
Having trouble? Open an issue or reach out to us:
Made with ♾️ by Theja Ashwin