This is a simple REST API with one CRUD flow, written by MVC pattern.
Stack: NodeJS, Express, MongoDB.
The project has nice error-handling, server-side validation, protected routes, and basic authorization using PassportJS.
You can easily to test api, using Swagger. Visit http:localhost:8000/api-docs
endpoint in your browser.
# Install the dependencies with npm
$ npm install
For development:
$ npm run dev
If you got this error in the terminal, you need to create/replace DATABASE
field in local .env
file on your own database connection string
- Pagination
- Basic socket implementation