Technical Docs

Reference documentation for the bun-boiler codebase.

NoteDescription
Architecture OverviewFull stack table, request flow, directory structure, path aliases, DI pattern
Authentication FlowLogin, invite signup, token refresh, change password — sequence diagrams + security properties
Frontend State ManagementRedux store shape, RTK Query slice pattern, re-auth interceptor, localStorage persistence
Database SchemaAll tables, column types, relationships, migration workflow, repository layer
Environment VariablesEvery env var, type, default, and which service uses it
Error Handling PatternsErrorOr<T>, AppError types, HTTP status mapping, response shapes, validation