Expand description
Tuitbot HTTP API server.
Exposes tuitbot-core’s storage layer as a REST API with read + write
endpoints, multi-strategy auth (bearer token + session cookie), and a
WebSocket for real-time events.
Modules§
- account
- Account context extraction and role-based access control.
- auth
- Authentication layer for the tuitbot API server.
- dashboard
- Serves the embedded Svelte dashboard as static files with SPA fallback.
- error
- API error types for the tuitbot server.
- routes
- Route modules for the tuitbot API server.
- state
- Shared application state for the tuitbot server.
- ws
- WebSocket hub for real-time event streaming.
Functions§
- build_
router - Build the complete axum router with all API routes and middleware.