How chasingsunsets/connectsphere works
ConnectSphere is a Singapore event-planning and venue-booking platform serving seven roles. Users work through a Vue application to submit and manage events, assign reviews, assess safety and technical readiness, book venues, and handle attendee registrations; notifications support those workflows. The FastAPI modular monolith exposes domain APIs backed by Supabase. The documented module structure and sampled imports support the backend routing and selected service-to-storage relationships; frontend request wiring and several domain details were not sampled, so those links are omitted or marked unverified.
Main entry points: main.py FastAPI application · events/service.py Event lifecycle · venues/service.py Venue suitability and booking · supabase.py Supabase data and auth
Components 21
User experience
- Vue application
frontend/src/App.vue - Role-based views
frontend/src/router/index.js - API client
frontend/src/services/api.js
Identity and access
- Authentication API
backend/app/modules/auth/router.py - Identity and roles
backend/app/modules/auth/service.py
Event operations
- Event workflows API
backend/app/modules/events/router.py - Event lifecycle
backend/app/modules/events/service.py - Event persistence
backend/app/modules/events/repository.py - Registration API
backend/app/modules/registrations/router.py - Public events and registration
backend/app/modules/registrations/service.py - Notifications API
backend/app/modules/notifications/router.py - Notification delivery
backend/app/modules/notifications/service.py
Venue and equipment
- Venue and booking API
backend/app/modules/venues/router.py - Venue suitability and booking
backend/app/modules/venues/service.py - Venue search
backend/app/modules/venues/search.py - Venue persistence
backend/app/modules/venues/repository.py - Equipment API
backend/app/modules/equipment/router.py - Technical readiness
backend/app/modules/equipment/service.py
Platform and persistence
- Supabase data and auth
backend/app/db/supabase.py - FastAPI application
backend/app/main.py
Other components
- Platform roles
Connections 29
- Platform roles → Vue application: use
README.md - Vue application → Role-based views: navigates
- Role-based views → API client: requests data
- API client → FastAPI application: calls API
- FastAPI application → Authentication API: mounts
backend/app/main.py - FastAPI application → Event workflows API: mounts
backend/app/main.py - FastAPI application → Registration API: mounts
backend/app/main.py - FastAPI application → Venue and booking API: mounts
backend/app/main.py - FastAPI application → Equipment API: mounts
backend/app/main.py - FastAPI application → Notifications API: mounts
backend/app/main.py - Authentication API → Identity and roles: calls
backend/app/modules/auth/router.py - Identity and roles → Supabase data and auth: uses clients
backend/app/modules/auth/service.py - Event workflows API → Event lifecycle: calls
backend/app/modules/events/router.py - Event lifecycle → Event persistence: reads and writes
backend/app/modules/events/service.py - Event lifecycle → Venue suitability and booking: requests venue work
backend/app/modules/events/service.py - Event lifecycle → Public events and registration: coordinates registration
backend/app/modules/events/service.py - Registration API → Public events and registration: calls
backend/app/modules/registrations/router.py - Public events and registration → Event persistence: reads event data
- Venue and booking API → Venue suitability and booking: calls
backend/app/modules/venues/router.py - Venue suitability and booking → Venue persistence: reads and writes
backend/app/modules/venues/service.py - Venue suitability and booking → Venue search: searches venues
backend/app/modules/venues/service.py - Venue suitability and booking → Event lifecycle: reads event context
backend/app/modules/venues/service.py - Equipment API → Technical readiness: calls
backend/app/modules/equipment/router.py - Technical readiness → Event lifecycle: reads event context
backend/app/modules/equipment/service.py - Notifications API → Notification delivery: calls
backend/app/modules/notifications/router.py - Notification delivery → Supabase data and auth: persists notifications
- Event persistence → Supabase data and auth: uses client
backend/app/modules/events/repository.py - Venue persistence → Supabase data and auth: uses client
backend/app/modules/venues/repository.py - Event lifecycle → Technical readiness: coordinates technical work
backend/app/modules/events/service.py