A modern Full Stack Authentication System built using React.js, FastAPI, JWT, and SQLite. This project demonstrates secure user authentication with JSON Web Tokens, protected routes, user registration, login, and a responsive dashboard.
Frontend:
https://secure-jwt-authentication-system-frontend.onrender.com
Backend API:
https://secure-jwt-authentication-system-backend.onrender.com
Add screenshots here after taking them.
- 🔐 Secure JWT Authentication
- 👤 User Registration
- 🔑 User Login
- 🔒 Protected Dashboard
- 🔑 Password Hashing
- 🚪 Logout Functionality
- 📱 Responsive UI
- ⚡ FastAPI REST API
- 💾 SQLite Database
- 🔄 Axios API Integration
- 🎨 Modern User Interface
- React.js
- CSS3
- Axios
- JavaScript (ES6)
- FastAPI
- Python
- JWT Authentication
- Passlib (Password Hashing)
- Uvicorn
- SQLite
- Git
- GitHub
jwt-auth-project
│
├── backend
│ ├── main.py
│ ├── auth.py
│ ├── database.py
│ ├── models.py
│ ├── requirements.txt
│ └── users.db
│
├── frontend
│ ├── src
│ │ ├── Login.jsx
│ │ ├── Register.jsx
│ │ ├── Dashboard.jsx
│ │ ├── Navbar.jsx
│ │ ├── api.js
│ │ └── App.jsx
│ │
│ ├── package.json
│ └── vite.config.js
│
└── README.md
git clone https://github.com/Maharaja6/secure-jwt-authentication-system.gitcd backend
python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
uvicorn main:app --reloadBackend runs at
http://127.0.0.1:8000
cd frontend
npm install
npm run devFrontend runs at
http://localhost:5173
Register
│
▼
Password Hashing
│
▼
Store User in SQLite
│
▼
Login
│
▼
Generate JWT Token
│
▼
Store Token
│
▼
Access Protected Dashboard
This project helped in understanding:
- React Component Architecture
- FastAPI REST API Development
- JWT Authentication
- Password Hashing
- Protected Routes
- Axios API Communication
- SQLite Database Integration
- Authentication Workflow
- Git & GitHub Version Control
- Email Verification
- Forgot Password
- Profile Update
- User Roles (Admin/User)
- Dark Mode
- MySQL/PostgreSQL Support
- Docker Deployment
- Refresh Token Authentication
Maharaja B
B.Tech Computer Science & Engineering (Cybersecurity)



