Website Direktorat Jenderal Cipta Karya
Official website of the Directorate General of Human Settlements (Cipta Karya), Ministry of Public Works, with a public portal and an admin panel for managing content across the central office and regional units.
Overview
A public portal for the Directorate General of Cipta Karya covering news, galleries, FAQ, organization profile, vision and mission, official profiles, work-unit locations on a map, and publication pages such as reports, NSPK, journals, bulletins, and seismic studies.
A custom admin panel lets editors manage banners, running text, news, documents, galleries, videos, infographics, logos, FAQ, public services, and navigation menus. Access is controlled by role-based permissions, and content can be scoped per work unit.
The backend is a NestJS REST API with Prisma on MySQL, JWT authentication, Cloudflare Turnstile on admin login, MinIO file storage, Google Analytics reporting, and Excel export for recapitulation. Both apps ship as Docker images through a GitLab CI/CD pipeline.
Stack
What I built
- Role-based access control with per-permission checks for each admin module and work-unit scoping.
- Dynamic document categories managed from master data, with duplicate-name checks and delete protection for categories still in use.
- Rich-text content editing with sanitized HTML, image and file uploads, and drag-and-drop dropzones.
- Admin login protected by Cloudflare Turnstile, plus API rate limiting.
- Document download counter and Google Analytics reporting in the admin dashboard.
Screens
Tap a screen to view it in full.