This is a sample CC 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
- Add/update .env
npm i
npm run start
- Run
localhost:5000
in browser to access routes directly. - Postman collection is available at Postman
.
├── controllers
│ └── User controller methods
├── database
│ └── database connection, models and db service
├── views
│ └── // template files
├── routes
└── application routes
├── app.js
└── ...