Skip to content
/ authjwt Public
forked from jawblet/auth

Template for JWT authentication in a MERN app with protected routes

Notifications You must be signed in to change notification settings

stove/authjwt

 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.3%
  • SCSS 17.9%
  • CSS 15.7%
  • HTML 4.5%
  • Shell 0.6%