To install dependencies:
bun installTo run:
bun run dev- Local:
http://localhost:3000 - Production: TBD
| Endpoint | HTTP | Description | Available |
|---|---|---|---|
/ |
GET | Get API info and link to government data | ✅ |
/governments |
GET | Get all government departments | ✅ |
/governments/:slug |
GET | Get a single department by slug | ✅ |
/governments |
POST | Add a new department | ✅ |
/governments/:slug |
PATCH | Patch (partially update) a department by slug | ✅ |
/governments/:slug |
DELETE | Delete a department by slug | ✅ |