Skip to content

Alucard2169/Basic-Node-JWT-auth

Repository files navigation

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.

Releases

No releases published

Packages

No packages published