# Bookra Auth Service Standalone auth + internal admin service for Bookra. Primary responsibilities: - email/password auth - magic-link auth - Google OAuth when configured - internal admin dashboard / remote service management - optional Neon JWT verification support Not primary billing service: - SaaS billing lives in `apps/backend` - Paddle config belongs in backend/frontend env ## Commands ```bash go run ./cmd/api go test ./... go build ./... ``` ## Core Routes - `GET /health` - `POST /api/auth/register` - `POST /api/auth/login` - `POST /api/auth/magic-link` - `POST /api/auth/verify` - `POST /api/auth/refresh` - `GET /api/auth/me` - `GET /api/auth/providers` - `GET /api/auth/oauth/google` - `GET /api/auth/oauth/google/callback` - `GET /admin` - `GET /admin/api/config` - `GET /admin/api/stats` See [apps/auth-service/.env.example](/home/tdvorak/Desktop/PROG+HTML/Bookra/apps/auth-service/.env.example:1).