haseebyousuf / MERN-Auth

This is a MERN stack application with authentication using JWT and HTTP-Only Cookie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MERN AUTH

This is a MERN stack application with authentication using JWT and HTTP-Only Cookie. This is for a SPA (Single Page Application) workflow that uses the Vite Build tool.

Screenshots

Features

  • Backend API with Express & MongoDB
  • Routes for auth, logout, register, profile, update profile
  • JWT authentication stored in HTTP-only cookie
  • Protected routes and endpoints
  • Custom middleware to check JSON web token and store in cookie
  • Custom error middleware
  • React frontend to register, login, logout, view profile, and update profile
  • Tailwindcss
  • React Toastify notifications

About

This is a MERN stack application with authentication using JWT and HTTP-Only Cookie


Languages

Language:JavaScript 98.3%Language:HTML 1.4%Language:CSS 0.2%