Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 573 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 573 Bytes

Basic-Node-JWT-auth

use

npm install

to install all the packages

use

node app.js

to run the project

visit localhost:3000

after the project starts running

This is a basic web app demonstrating the JWT authentication system.

Here i have used JWT (json web tokens) that are used to authenticate a user ( read more about jwt here

Mongodb is used as the database that handles the User model ( how the user details are going to look like)

I have also used Environment variables using dotenv to hide and secure keys/passwords.