https://github.com/pateljay15/mern-backend
Complete End-to-End registration and login, logout using NodeJS, ExpressJS, MongoDB, Mongoose ,JWT, Bcrypt, Cookies
https://github.com/pateljay15/mern-backend
Last synced: 3 months ago
JSON representation
Complete End-to-End registration and login, logout using NodeJS, ExpressJS, MongoDB, Mongoose ,JWT, Bcrypt, Cookies
- Host: GitHub
- URL: https://github.com/pateljay15/mern-backend
- Owner: pateljay15
- Created: 2021-03-23T14:46:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-26T16:13:47.000Z (about 4 years ago)
- Last Synced: 2025-01-21T00:51:48.841Z (4 months ago)
- Language: Handlebars
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mern-backend
Complete End-to-End registration and login, logout using NodeJS, ExpressJS, MongoDB, Mongoose and JWTReference to login, logout, registration using JWT
Technologies used to maintain secure authentication & authorization:
BcryptJS
jsonwebtokenAdded the generated JWT by middleware methods in the cookies and maintianing the session of the user and storing that token in the MongoDB database.
If user successful login then only he can use the secret pages of the website by comparing token.
ADDTIONAL FUNCTIONALITY:
Also added the functionality like , if user logout in one particular device , he logout from all the devices he logged in before similar to NETFLIX Logout