An API for an existing system
The problem. The centre's Django site rendered pages for its staff. There was nothing a phone app could talk to.
- Added a REST layer with Django REST Framework and JWT sign-in, beside the existing pages.
- Public endpoints for news, regulations, the business map and the city's statistics.
- Twelve kinds of record an owner can keep: products, permits, suppliers, staff, machines, training and more.
- Packaged it in Docker on Google Cloud Run, with PostgreSQL and files in Cloud Storage.
What changed. The app and the staff dashboard read and write the same data.
12
kinds of business record, kept by the owners



