mirror of
https://github.com/Dvorinka/Bookra.git
synced 2026-06-03 20:13:00 +00:00
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
go run ./cmd/api
go test ./...
go build ./...
Core Routes
GET /healthPOST /api/auth/registerPOST /api/auth/loginPOST /api/auth/magic-linkPOST /api/auth/verifyPOST /api/auth/refreshGET /api/auth/meGET /api/auth/providersGET /api/auth/oauth/googleGET /api/auth/oauth/google/callbackGET /adminGET /admin/api/configGET /admin/api/stats