API manajemen komunitas multi-tenant — system of record untuk HaloRT SaaS dan mobile.
| Repo | halort-platform |
| Stack | ElysiaJS · Bun · TypeScript · Prisma 6 · MariaDB · JWT |
| Lokal | http://localhost:4000 — health /api/health · docs /swagger |
| Produksi | https://api.halort.com · https://api.halort.com/swagger |
Posisi
Infrastruktur digital untuk RT/RW dan komunitas perumahan. Jalur asal mencakup konsep GP2 RT10 (Laravel); marketplace hidup di /api/pasar/* saat ini. Lihat Concepts/Pasar GP2.
Auth & peran
Google OAuth, magic-link (/api/auth/magic-link), Bearer JWT. Peran meliputi warga, bendahara, sekretaris, admin, super_admin — lihat Auth · Concepts/Roles and Portals.
Modul utama
Health/tenants, kampanye/donasi, kas/anggaran/pengeluaran, iuran, statistik/laporan, kelembagaan (berita/agenda/galeri), kependudukan, surat/saran/usulan, applications/credentials, pasar, billing SaaS (invoice Duitku POP).
Feature flag tenant dapat mengaktifkan modul seperti pasar.
Tagihan langganan HaloRT (bukan iuran warga): POST/GET /api/billing/invoices, callback POST /api/payments/duitku/callback, operator POST/GET /api/platform/tenants/:id/invoices. Uji: Testing/Duitku SaaS Billing.
Tenancy & data
Multi-tenancy via plugin tenant; query dibatasi tenant_id di MariaDB. Mengekspor tipe App untuk klien Eden Treaty (Surfaces/Platform Web, mobile).
Pemanggil
- Surfaces/Platform Web
- Konsol operator
halort-admin(admin.halort.com) - Surfaces/Mobile iOS · Surfaces/Mobile Android
- Email keluar via Notifications