Skip to content

This contains Contact Management App for n number of users. All API has the protected routes using JWT token. Payload validation is done using mongoose schema and model. Major facilities of express is used to make it secure and reliable.

Notifications You must be signed in to change notification settings

manandhameliya888/node-express-mongo-auth-crud

Repository files navigation

NodeJS ExpressJS and MongoDB AUTH + CRUD REST API

Description

This is an Contact Manager App made with NodeJS ExpressJS and MongoDB AUTH + CRUD REST API with JWT and all Request Response validation

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

What it contains

----- Contact Manager App --------

Things Used are listed below ::-->> Create Express Server Express Project Setup Thunder Client Setup Express Router Setup Error Handling Async Handler Express Middleware MongoDB Setup Mongoose Schema CRUD API User Authentication Registration AND Login API Controllers & DB Operations Password Hashing & Comparing Sign/Verify JWT Handle Relationship in MongoDB Protected Route User Authorization API Testing

Reference

https://www.youtube.com/watch?v=H9M02of22z4

About

This contains Contact Management App for n number of users. All API has the protected routes using JWT token. Payload validation is done using mongoose schema and model. Major facilities of express is used to make it secure and reliable.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published