Ladrillo/auth-lesson

★ 0Forks 0GitHub ↗Compare

README

Auth Lesson

License: MIT

Overview

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.

Features

  • 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)

Setup

npm install
npm run dev

Visit

At http://localhost:9000

Contributors

Ladrillo

Issues