How matteofolli45-dot/grest-organizator works
Grest Organizator is a browser-based organizer for a summer oratory program, with separate animator, administrator, attendance, and Saturday-oratory workflows. Users manage children and staff, record attendance, plan activities, and handle notices; the app also supports Sabor activities and push notifications. The central application logic lives in app.js and uses Supabase. Push subscription management has a browser client, an edge-function API, and a service worker. Several domain pages are represented by their filenames, but their implementation and links were not sampled; connections are shown only where the excerpts establish them.
Main entry points: push-notifications.js Push preferences · index.ts Push API · service-worker.js Push worker · app.js Application logic
Components 21
GREST management
- Animators
animatori_grest.html - GREST admin
admin_grest.html - Child registration
registrazione_bambini.html - GREST enrollment
iscrizione_grest.html - Attendance
appello.html - Activity planning
grest-rush.html - GREST notices
avvisi_grest.html - Account selection
selezione_account.html - Settings
impostazioni.html
Sabor activities
- Sabor admin
admin_sabor.html - Saturday meetings
sabato_oratorio.html - Food counts
conteggi_sabor.html - Snack planning
merenda_sabor.html - Sabor notices
avvisi_sabor.html
Push notifications
- Push preferences
push-notifications.js - Push worker
service-worker.js - Push API
supabase/functions/push-notifications/index.ts
Browser and backend
- Application logic
app.js - Supabase
- Push services
Other components
- Staff user
Connections 9
- Staff user → Application logic: uses
- Application logic → Supabase: reads and writes
app.js - Push preferences → Application logic: uses client
push-notifications.js - Push preferences → Push API: invokes
push-notifications.js - Push preferences → Push worker: registers
push-notifications.js - Push API → Supabase: stores subscriptions
supabase/functions/push-notifications/index.ts - Push API → Push services: sends notifications
supabase/functions/push-notifications/index.ts - Push services → Push worker: delivers push
- Push worker → Staff user: shows notification
service-worker.js