How evlskyy/spas1-hybrid works
SPAS1 Hybrid is a static web application for multi-SPPG food-service operations. Users plan menus and nutrition, manage volunteers and attendance, run kitchen logistics and finance, and handle public-site content; operational data and authentication are backed by Supabase. The map preserves major README capabilities, including onboarding, account administration, media, PWA behavior, and reporting. Source excerpts are partial, so undocumented frontend-to-function wiring and unsampled modules are not asserted; dashed links mark documented integrations whose callers are not shown.
Main entry points: index.html SPAS1 web app · volunteer-registration/index.ts Volunteer signup · accounting-features.js Kitchen logistics · module-account-admin/index.ts Module access
Components 22
Operations
- SPAS1 web app
index.html - Menu planning
index.html - Nutrition calculator
super-gizi.js - Volunteer signup
supabase/functions/volunteer-registration/index.ts - Volunteer attendance
index.html - Kitchen logistics
accounting-features.js - Finance & obligations
accounting-features.js - Accountability reports
lpj.js
Administration
- SPPG onboarding
supabase/functions/volunteer-registration/index.ts - Module access
supabase/functions/module-account-admin/index.ts - Admin authentication
supabase/functions/admin-account-auth/index.ts - Public content
supabase/functions/aboutsky-contact/index.ts - AboutSky archive
supabase/functions/aboutsky-archive/index.ts
Platform Services
- Media proxy
functions/api/media.js - Region lookup
functions/api/regions.js - Request middleware
functions/_middleware.js - Offline shell
service-worker.js
Supabase Data
- Supabase services
Other components
- SPPG staff
- wilayah.id
- User browser
- Browser storage
Connections 27
- SPPG staff → SPAS1 web app: uses
README.md - SPAS1 web app → Menu planning: plans menus
README.md - Menu planning → Nutrition calculator: calculates nutrition
README.md - SPAS1 web app → Volunteer signup: registers volunteers
README.md - SPAS1 web app → Volunteer attendance: records attendance
README.md - SPAS1 web app → Kitchen logistics: manages stock
README.md - SPAS1 web app → Finance & obligations: manages finance
README.md - SPAS1 web app → Accountability reports: creates reports
README.md - SPAS1 web app → SPPG onboarding: submits applications
README.md - SPAS1 web app → Module access: administers access
README.md - SPAS1 web app → Admin authentication: admin login
README.md - SPAS1 web app → Public content: sends contact
README.md - SPAS1 web app → AboutSky archive: accesses archive
README.md - SPAS1 web app → Media proxy: requests media
README.md - Media proxy → Supabase services: proxies storage
functions/api/media.js - Region lookup → wilayah.id: fetches regions
functions/api/regions.js - SPAS1 web app → Region lookup: loads regions
README.md - Request middleware → SPAS1 web app: routes requests
functions/_middleware.js - User browser → Offline shell: runs worker
service-worker.js - Offline shell → Browser storage: caches assets
service-worker.js - Volunteer signup → Supabase services: writes membership
supabase/functions/volunteer-registration/index.ts - Module access → Supabase services: checks membership
supabase/functions/module-account-admin/index.ts - Admin authentication → Supabase services: authenticates admin
supabase/functions/admin-account-auth/index.ts - Public content → Supabase services: rate limits
supabase/functions/aboutsky-contact/index.ts - AboutSky archive → Supabase services: authorizes archive
supabase/functions/aboutsky-archive/index.ts - Kitchen logistics → Supabase services: stores operations
README.md - Finance & obligations → Supabase services: stores finance
README.md