This project is using Fastify as the server.
- Node.js
- TypeScript
- Fastify
- Prisma
- PostgreSQL
- Cloud SQL
- Compute Engine
- Cloud Storage
- Redis
- Docker
- NGINX
- Run
yarn installto install dependencies and generate node_modules. - Run
yarn devto run the server. - Visit
/documentationroute to view the Swagger Documentation. Or see the pdf docs.
/kode-wilayah: Get all kode wilayah, maximum 10 items per page (can be changed).
limit: modify the limit of items per page, default: 10. Example: /kode-wilayah?limit=69
page: navigate through the sea of kode wilayahs, default: 1. Example: /kode-wilayah?page=3
kode: filters the kode wilayah based on kode. Example: /kode-wilayah?kode=110110
/kode-wilayah/{kode}: To get specific items for kode wilayah. Example: /kode-wilayah/110110
- Unit test using Jest
- Implement KTP submission endpoint