- Introduced a new `AuthContext` with Dependency Injection to replace direct `useAuthStore` access, enhancing E2E testability. - Migrated authentication core components (`AuthInitializer`, `AuthGuard`, `Header`) and hooks (`useAuth`, `useUser`) to use `AuthContext`. - Updated test suite: - Refactored unit tests to mock `AuthContext` instead of `useAuthStore`. - Enhanced E2E test helpers to inject mock auth stores for authenticated and admin scenarios. - Verified API client interceptors remain compatible with the new setup. - No breaking changes; maintained 98.38% test coverage.
Description
FastNext Stack is a modern full-stack template combining FastAPI, Next.js, and PostgreSQL in a Docker-ready environment. It provides a production-grade foundation for building scalable web applications with TypeScript frontend and Python backend.
Languages
TypeScript
53.5%
Python
44.4%
JavaScript
1.3%
Makefile
0.3%
CSS
0.2%
Other
0.2%