Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hardcoder404/jwt-auth-concept

All concept about JWT auth, and Private & Protected Routes in Reactjs
https://github.com/hardcoder404/jwt-auth-concept

express joi jwt node private-route protected-routes react-toastify reactjs

Last synced: 4 days ago
JSON representation

All concept about JWT auth, and Private & Protected Routes in Reactjs

Awesome Lists containing this project

README

        

# Backend:
installation to setup backend ( normal case ):

1. npm i express jsonwebtoken bcrypt body-parser dotenv mongoose joi cors
2. create index.js file
3. Folder Structure:
Models : Eske andr tumahre Schema hote hai, or databse v add kr skte ho.
Controllers : Eske andr logic define hota hai
Middlewares : Eske andr auth part hota hai
Routes : Eske andr API routes define hote hai