Skip to content

Gus303/MERN-Stack-Registration-Login-with-Protected-Routes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

MERN Stack Registration & Login with Protected Routes

This project demonstrates a full-stack authentication system built with the MERN stack (MongoDB, Express, React, Node.js). It includes user registration, login, and protected routes that require authentication. The backend is powered by Node.js and Express, while the frontend is built with React. Authentication is handled using JSON Web Tokens (JWT) to ensure secure access to protected resources.

Features:

  • User Registration: Create a new account with a secure password.
  • User Login: Authenticate with email and password.
  • JWT Authentication: Token-based authentication for secure user access.
  • Protected Routes: Only authorized users can access certain parts of the application.
  • Error Handling: Handles invalid credentials, server errors, and form validation.

Technologies Used:

  • Frontend: React
  • Backend: Node.js, Express
  • Database: MongoDB
  • Authentication: JWT (JSON Web Tokens)

About

A full-stack authentication system built with the MERN stack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages