This is a sample MVC project built on top of the NodeJS, ExpressJS and Mongoose.
This project includes sample user collection its basic CRUD routes.
- Project Overview
- Table of Contents
- Prerequisites
- Installation
- Folder Structure
- Configuration
- Routes
- Controllers
- Models
- Views
- Middleware
- Testing
- Contributing
- License
- Node.js > 14
- update .env.development
npm i
npm run start
- Run
localhost:5000
in browser to access routes directly. - Postman collection is available at Postman
.
├── config
│ └── Database configuration
├── controllers
│ └── User controller methods
├── models
│ └── User collection
├── views
│ └── // template files
├── routes.js
├── server.js
└── ...