AuthNest is a secure, scalable authentication platform built with Spring Boot (Java) on the backend and React.js on the frontend. It supports JWT-based login, email verification, password reset, session handling, and responsive UI components — designed for modern web applications.
- 🔐 JWT Authentication — Stateless login with secure token handling
- 📧 Email Verification — OTP-based email verification flow
- 🔁 Password Reset — Secure OTP + new password workflow
- 🧠 Session Persistence — Automatic login restoration via token
- 📦 React + Axios Frontend — Responsive UI with clean UX
- 🛡️ Spring Security Backend — Custom filters, entry points, and token validation
- 📨 Toast Notifications — Real-time feedback for all user actions
| Layer | Technology |
|---|---|
| Frontend | React, Axios, React Router, Toastify |
| Backend | Spring Boot, Spring Security, JWT |
| Database | MySQL |
| Email Service | SMTP(Brevo) |
- Clone the repo and navigate to
/backend - Configure your DB and email credentials in
application.properties - Run the app:
mvn spring-boot:run
- Navigate to
/frontend - Install dependencies:
npm install
- Start the dev server:
npm run dev
- POST
/login— Authenticate user - POST
/register— Create new account - POST
/send-otp— Send email verification OTP - POST
/verify-otp— Verify email OTP - POST
/send-reset-otp— Send password reset OTP - POST
/reset-password— Reset password - GET
/profile— Fetch user profile - GET
/is-authenticated— Check login status
🔍 Visualizing AuthNest in Action To demonstrate the secure and responsive behavior of AuthNest, below are screenshots capturing key user flows:
- 🔐 Login with JWT — Secure token-based authentication
- 📧 Email Verification — OTP input and validation
- 🔁 Password Reset — OTP + new password workflow
- 🧠 Session Persistence — Auto-login via stored token
- 📦 Frontend UI — Clean React interface with Toast notifications
Secure token-based authentication with session persistence.

User registration with email input and password setup.

Email should be entered link to account

OTP input screen for verifying user identity via email.

Email sent to registered address containing OTP code.

OTP validation followed by new password input.

Hrishikesh
Full-stack developer passionate about building secure, scalable, and well-documented web applications.
Specialized in Spring Boot, React, and modern authentication flows.
Connect with me on LinkedIn
