Production-oriented authentication scaffold for a FastAPI + Next.js stack.
This repository now contains:
- a FastAPI backend scaffold with cookie auth, refresh sessions, CSRF protection, SMTP email hooks, and OAuth entry points
- a Next.js frontend scaffold for login, registration, password flows, profile, and API key management
docker-composeorchestration with PostgreSQL and a reverse proxypixi-based Python environment management and Alembic migrations
- Copy
.env.exampleto.envand fill in SMTP settings, app secrets, and OAuth credentials. - Start the stack with
docker-compose up --build. - Open
http://localhost:8080.
- Health check:
/api/health - OpenAPI docs:
/api/docs