Files
kakebo/app/api/apps.py
Andros Fenollosa 1dc333eae6 Add REST API for expenses with token authentication
- New app/api with DRF: POST /api/v1/expenses/, GET categories
  and subcategories
- Token auth via API_TOKEN env var (Bearer header)
- Response format: type, data, errors, _links (HATEOAS)
- Validates subcategory belongs to category
- 11 tests covering auth, CRUD, and validation
- API documentation in README.md
2026-03-18 08:54:04 +01:00

158 B