Auth Lesson is a full-stack authentication demo project built with Node.js (Express) for the backend and React (Vite) for the frontend. It demonstrates core authentication flows, session management, cookie handling, and API routing.
- User authentication (login, logout, session management)
- Password hashing (argon2, bcryptjs)
- Protected routes
- Cookie handling
- Express-based session management
- Logging with Morgan & colored output with Chalk
- Development and deployment setups (including frontend+backend proxying)
Check out the solution
tag with Git to see the finalized code.
npm install
npm run dev
At http://localhost:9000