- Add API token model with SHA-256 hashed tokens
- Add migration 006_add_api_tokens.sql
- Add Bearer token auth middleware
- Add API endpoints under /api/v1/:
- GET /whoami
- POST /tokens (create new API token)
- GET /apps (list all apps)
- POST /apps (create app)
- GET /apps/{id} (get app)
- DELETE /apps/{id} (delete app)
- POST /apps/{id}/deploy (trigger deployment)
- GET /apps/{id}/deployments (list deployments)
- Add comprehensive tests for all API endpoints
- All tests pass, zero lint issues
|
||
|---|---|---|
| .. | ||
| api_test.go | ||
| api.go | ||
| app_name_validation_test.go | ||
| app_name_validation.go | ||
| app.go | ||
| auth.go | ||
| dashboard.go | ||
| handlers_test.go | ||
| handlers.go | ||
| healthcheck.go | ||
| port_validation_test.go | ||
| render_template_test.go | ||
| setup.go | ||
| tail_validation_test.go | ||
| webhook.go | ||