Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth App (Full Stack JWT Authentication)

A full-stack authentication project built with:

πŸ’» Technologies

  • Frontend: React (React Router, Fetch, functional components)
  • Backend: Node.js + Express
  • Database: MongoDB Atlas (Mongoose)
  • Authentication: JWT (JSON Web Tokens)
  • Routing: Protected routes

πŸš€ Features

βœ” User Signup
βœ” User Login
βœ” JWT Authentication
βœ” Protected Dashboard route
βœ” LocalStorage token handling
βœ” Clean architecture
βœ” Polished UI with CSS + spinners + reusable components


authvault/ β”œβ”€β”€ auth-frontend/ # React app β”œβ”€β”€ config/ # Backend config β”œβ”€β”€ models/ # Mongoose schemas β”œβ”€β”€ routes/ # API endpoints β”œβ”€β”€ middleware/ # Auth middleware β”œβ”€β”€ .gitignore β”œβ”€β”€ README.md


🧠 How It Works

  1. Signup β†’ Creates user in MongoDB
  2. Login β†’ Returns JWT token
  3. Frontend saves token to localStorage
  4. Protected Routes block access without valid token
  5. Dashboard shows secure content

⚑ Get Started β€” Run Locally

πŸ›  Backend

cd authvault
npm install
npm start

To make it *pop*, add screenshots of:

🟑 Login page  
🟒 Signup page  
πŸ”’ Protected dashboard

## πŸ“ Project Structure

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages