A production-grade Node.js MVC boilerplate with Express, MongoDB, and modern tooling for building scalable backend applications.
- MVC Architecture – Clean separation of concerns
- Express.js – Robust server with middleware pipeline
- Mongoose ODM – MongoDB modeling with validation
- JWT Authentication – Ready-to-use auth system
- Environment Config – 12-factor app compliant using dotenv
- Email Service – SMTP/Brevo integrated for transactional emails
- Security Middleware – Helmet, CORS, and Rate Limiting included
- Logging – Morgan-based HTTP request logging
- Static File Support – Serve public assets and uploads
-
Health Check API – Built-in
/api/health
route - Error Handling – Centralized error middleware
- CI/CD Ready – GitHub Actions workflow supported
npx node-mvc-starter my-app
cd my-app
npm run dev
npm install node-mvc-starter
npm run dev
cp .env.example .env
Edit the .env file with your configuration:
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License – see the LICENSE file for details.
Zuber Khan – @zkcreations
Maintained by ZK Creations
View on NPM:
👉 https://www.npmjs.com/package/node-mvc-starter