How hijisu/gs42-cluster works
42gs-cluster is a campus service where trainees submit meeting and room requests, manage library requests, and read or write course reviews; education staff handle those requests in a parallel interface. The README documents in-app alerts and optional web push, plus optional 42 authentication. The graph preserves these product areas and their documented user workflows. Source excerpts show notification event handling and room-staff use cases; other implementation links are documented at product level, so edges do not imply uninspected call paths.
Main entry points: router.tsx Staff interface · handlers.py Event handlers · service.py Notification service · authentication.py Login and roles
Components 19
User interfaces
- Trainee interface
frontend/src/app/router.tsx - Staff interface
frontend/src/app/router.tsx - Notification settings
frontend/src/features/notification/Notifications.tsx
Identity
- Login and roles
backend/accounts/interfaces/authentication.py - Account records
backend/accounts/infrastructure/repository.py
Campus services
- Meeting requests
backend/meetings - Meeting management
backend/meetings/application/staff_usecases.py - Room reservations
backend/rooms/application/usecases.py - Room management
backend/rooms/application/staff_usecases.py - Oasis library
backend/library - Course reviews
backend/reviews - Course administration
backend/reviews/application/staff_usecases.py
Notifications
- Event handlers
backend/notifications/application/handlers.py - Notification service
backend/notifications/application/service.py - Web push
backend/notifications/infrastructure/push.py
Shared platform
- Event dispatch
backend/common/domain/events.py - PostgreSQL
backend/config/settings.py
Other components
- Trainee
- Education staff
Connections 21
- Trainee → Trainee interface: uses
README.md - Education staff → Staff interface: uses
README.md - Trainee interface → Login and roles: signs in
README.md - Staff interface → Login and roles: signs in
README.md - Login and roles → Account records: resolves account
backend/accounts/infrastructure/repository.py - Trainee interface → Meeting requests: requests meetings
README.md - Staff interface → Meeting management: manages meetings
README.md - Trainee interface → Room reservations: requests rooms
README.md - Staff interface → Room management: handles reservations
README.md - Trainee interface → Oasis library: browses and requests
README.md - Staff interface → Oasis library: handles book requests
README.md - Trainee interface → Course reviews: reads and writes
README.md - Staff interface → Course administration: manages courses
README.md - Meeting management → Event handlers: publishes events
- Room management → Event handlers: publishes events
backend/rooms/application/staff_usecases.py - Event handlers → Notification service: creates alerts
backend/notifications/application/handlers.py - Event handlers → Event dispatch: registers handlers
backend/notifications/application/handlers.py - Notification service → Notification settings: delivers in-app alerts
README.md - Notification service → Web push: sends web push
README.md - Staff interface → Notification settings: views alerts
README.md - PostgreSQL → Account records: stores accounts