A simple CRUD application with authentication
Node >= v10.0.0
Mongodb - 4.0.0
Mocha - Testing framework
Express - Node.js Framework
Express Validator - Validation Library
Eslint - Linting tool
clone repo
cd && npm install
npm install mocha eslint -g
Note: Rename .env.sample
file to .env
and include relevant env variables
$ npm start
$ npm test
-
API
-
POST
/auth/register
{ “email”, "password", "name" }
- POST
/auth/login
{ “email”, "password", }
- POST
-
PUT
/users/:id
{ “email”, "password", "name" }
- GET
/users
- GET
-
- Shailesh Shekhawat - Initial work - Github
This project is licensed under the MIT License