puvi034 / NodeAuthenticationSystem

Node/Express Authentication System built with PassportJS and MongoDB.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeAuthenticationSystem

Node/Express Authentication System built with PassportJS and MongoDB.

Before running the project, make sure you have the mongo db in your system and it's running. Please install the mongo db from the below site https://www.mongodb.com/download-center#community

Steps to install the project.

  1. Clone the code from the repository
  2. Once cloned, go into the cloned folder and type "npm install"
  3. Then type "npm start" command to start the server.

Description:

This project builds Authentication API using PassportJS, where users can regsiter by providing the email and password. The given password will be encrypted using bcryptJS before being saved into the database. Once the user signs up, API responds with JWT token. The next incoming request authorization header should carry this token for secured request. Otherwise, request will be considered unauthorized

About

Node/Express Authentication System built with PassportJS and MongoDB.


Languages

Language:JavaScript 100.0%