Overview
A complete authentication system demonstrating a type-safe full-stack workflow: a NestJS API paired with a React + Redux Toolkit client.
The problem
Authentication is deceptively hard to get right across the full stack — sessions, validation & state must stay consistent.
The solution
A NestJS backend with a strongly-typed React/Redux frontend, sharing clear contracts for a smooth, secure auth flow.
Key features
- Sign up, sign in, and protected routes
- Type-safe API contracts
- Centralized auth state with Redux Toolkit
Challenges
- • Synchronizing client auth state with server sessions.
Lessons learned
- • A single source of truth for auth state simplifies everything.