A secure full stack authentication system built with Node.js, React.js and MongoDB.
- Frontend: [your-vercel-link]
- Backend API: [your-render-link]
- User registration and login
- JWT token generation and verification
- Role-based protected routes
- Session persistence using React Context API
- 100% of private routes secured
- CORS configured for frontend-backend communication
| Layer | Technology |
|---|---|
| Backend | Node.js, Express.js, JWT |
| Frontend | React.js, React Context API, Axios |
| Database | MongoDB |
| Deployment | Render (backend), Vercel (frontend) |
git clone https://github.com/Koyyada-Akhil/your-repo-name
cd backend
npm install
npm startcd frontend
npm install
npm startCreate a .env file in backend folder:
JWT_SECRET=your_secret_key
MONGO_URI=your_mongodb_connection_string
PORT=5000