How naufalms29/sim-panti-asuwain works
Sistem Informasi Manajemen Panti Asuhan Asuwain is a web application for public information and services, donor and child self-service, and staff operations. Public visitors browse the landing page, submit or track visit requests, and view donation information. Signed-in users authenticate and reach role-limited dashboards for their own records or staff management of children, donations, finances, inventory, visits, and institutional content. The README documents these capabilities and Prisma/MySQL; sampled source confirms landing-page composition, authentication, inventory actions, and protected private-file delivery. Other feature-level wiring is not sampled, so those links reflect README documentation.
Main entry points: dashboard Role dashboards · prisma.ts MySQL via Prisma · page.tsx Public landing · route.ts Private file endpoint
Components 23
Public Experience
- Public landing
src/app/page.tsx - Institution content
src/features/cms/services - News and activities
src/features/kegiatan/services/kegiatan.service.ts - Landing sections
src/features/landing/components - Visit request and tracking
src/features/kunjungan/components/public
Access and Self-Service
- Login and registration
src/app/(auth) - Authentication
src/auth.ts - Credential and OTP service
src/features/auth/services/auth.service.ts - Role dashboards
src/app/(dashboard)/dashboard - Child documents
src/features/berkas-anak - Private file endpoint
src/app/api/berkas-anak/[id_berkas]/route.ts
Panti Operations
- Children and alumni
src/features/anak-panti - Donations and donors
src/features/donasi - Finance and inventory
src/features/inventaris - Visit management
src/features/kunjungan - Institution management
src/features/cms - News and activities admin
src/features/kegiatan
Shared Platform
- Role permissions
src/lib/rbac.ts - Private file storage
src/features/berkas-anak/utils/berkas-storage.utils.ts - MySQL via Prisma
src/lib/prisma.ts
Other components
- Public visitor
- Admin and staff
- Donor or child
Connections 31
- Public visitor → Public landing: opens
src/app/page.tsx - Public landing → Institution content: loads profile content
src/app/page.tsx - Public landing → News and activities: loads activities and news
src/app/page.tsx - Public landing → Landing sections: renders
src/app/page.tsx - Landing sections → Visit request and tracking: includes visit portal
- Public visitor → Visit request and tracking: requests or tracks visit
README.md - Public visitor → Landing sections: views donation information
README.md - Donor or child → Login and registration: signs in or registers
README.md - Login and registration → Authentication: uses authentication
src/app/(auth)/login/page.tsx - Authentication → Credential and OTP service: verifies credentials
src/auth.ts - Authentication → MySQL via Prisma: loads user record
src/auth.ts - Donor or child → Role dashboards: opens role dashboard
README.md - Role dashboards → Role permissions: checks permissions
README.md - Admin and staff → Role dashboards: manages records
README.md - Role dashboards → Children and alumni: manages children and alumni
README.md - Role dashboards → Donations and donors: manages or views donations
README.md - Role dashboards → Finance and inventory: manages finances and logistics
README.md - Role dashboards → Visit management: verifies visit requests
README.md - Role dashboards → Institution management: manages institutional content
README.md - Role dashboards → News and activities admin: manages news and activities
README.md - Donor or child → Child documents: views own documents
README.md - Child documents → Private file endpoint: requests protected file
README.md - Private file endpoint → Role permissions: checks access
src/app/api/berkas-anak/[id_berkas]/route.ts - Private file endpoint → MySQL via Prisma: looks up document owner
src/app/api/berkas-anak/[id_berkas]/route.ts - Private file endpoint → Private file storage: resolves and reads file
src/app/api/berkas-anak/[id_berkas]/route.ts - Children and alumni → MySQL via Prisma: stores records
README.md - Donations and donors → MySQL via Prisma: stores donation records
README.md - Finance and inventory → MySQL via Prisma: stores operational records
README.md - Visit management → MySQL via Prisma: stores visit schedules
README.md - Institution management → MySQL via Prisma: stores institution content
README.md - News and activities admin → MySQL via Prisma: stores activities and news
README.md