Skip to content

Node js API built to ensure Authentication and protection of desired routes using JWT

Notifications You must be signed in to change notification settings

Israr-11/Authentication-API-using-JWT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authentication-API-using-JWT

Node js API built to ensure Authentication and protection of desired routes using JWT

Follow these instructions to run the API successfully

Step 1: Install dependencies

Installation:

npm install

Step 2: Start the backend server

npm start or npm run dev

Open your favorite browser and navigate to http://localhost:5000 to experience the magic 😎!

The server will automatically reload as you make changes, and any lint errors will be displayed in the console.

Step 3: Testing in Postman

Firstly, register yourself using the registering endpoint and then login, if login is successful it will give you a token that you have to place in the authorization header to access the protected routes

🚀 Note to Repo Visitors

If you find this repo useful, don't forget to show some love! Give the repository a star to support the project. 🌟

About

Node js API built to ensure Authentication and protection of desired routes using JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published