Engineering·
- Bun
- Hono
- SQLite
- Zod
- OpenAPI
API Wilayah Indonesia
Public read-only API for Indonesian administrative region data — provinces, regencies, districts, villages with postal codes and coordinates.
About this project
Built a RESTful API serving Indonesian administrative region data across 4 levels using Hono.js on Bun runtime. Data pipeline processes raw Kemendagri datasets into a queryable SQLite database. Implemented OpenAPI spec with Swagger UI for documentation, Zod for request/response validation, and pagination across all list endpoints. Includes search and postal code reverse lookup.
Production-ready API with 12 endpoints covering 38 provinces, 514 regencies, 7,285 districts, and 83,762 villages. Includes automated data validation pipeline and CI/CD with GitHub Actions.