Expand description
kasl-server as a library.
The binary is a thin wrapper: configuration, a pool, migrations, then
app::router. Everything else lives here so integration tests can drive
the real router and the real provisioning path instead of a copy that
drifts from what ships.
Modules§
- admin
- Managing people and the agents that report for them.
- app
- auth
- Agent authentication: who is allowed to upload, and on whose behalf.
- config
- error
- One error shape for the whole API.
- import
- Importing an agent’s local history.
- ingest
- The upload endpoints:
POST /api/v1/daysand/days/batch. - login
- The login endpoints and the extractor that guards everything behind them.
- model
- The domain the server stores: the shapes behind
migrations/. - provision
- Getting the first agents onto a server that has no admin UI yet.
- session
- Passwords and browser sessions.
Functions§
- migrator
- The embedded migrations, applied on startup and by the tests.