Visitar URL original
GitHub - javascript-forked-projects/auth: Template for JWT authentication in a MERN app with protected routes · GitHub
Skip to content
javascript-forked-projectsPublic
forked from jawblet/auth

About

Template for JWT authentication in a MERN app with protected routes

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

JWT authentication template for MERN

  • Login, registration, logout, and checking user's authentication status.
  • Storing authenticated users in global context. 
  • Checking if a user is logged in based on their HTTP-only cookie/JWT token. 
  • Protecting routes for authenticated users only. 
  • Redirecting users and conditional rendering based on their authentication status.

About

Template for JWT authentication in a MERN app with protected routes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages