Skip to content

codepath/auth-lesson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Check out the solution tag with Git to see the finalized code.

Setup

npm install
npm run dev

Visit

At http://localhost:9000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published