This project all about Authentication.
Authentication is the process of verifying the identity of a user, device, or other entity. It confirms that someone or something is who or what they claim to be. This is usually done by checking credentials like usernames and passwords, or by using other methods like biometrics or security tokens.
A full-stack Authentication system built using the MERN stack (MongoDB, Express, React, Node.js). This app supports user registration, login, protected routes, token-based authentication using JWT, and logout functionality.
Click here to view live (Replace with your deployed app link)
- π User Registration & Login
- β JWT-based Authentication
- π¨βπ» Protected Routes for Logged-in Users
- π§ Password Hashing with Bcrypt
- π¦ Clean Folder Structure
β οΈ Error Handling- πͺ Token storage using HTTP-only cookies / localStorage (based on your choice)
- React
- Axios
- React Router DOM
- Tailwind CSS (or your choice of styling)
- Node.js
- Express.js
- MongoDB (via Mongoose)
- JSON Web Token (JWT)
- Bcrypt.js
- Cookie-parser (if using HTTP-only cookies)
βββ client
β βββ src
β β βββ components
β β βββ pages
β β βββ App.js
β β βββ index.js
β βββ package.json
βββ server
β βββ controllers
β βββ models
β βββ routes
β βββ middleware
β βββ server.js
β βββ package.json
βββ README.md

