How matheuz-rodrigues/sigre works
SIGRA manages academic room reservations through a React interface and a FastAPI backend. The main user journey is authentication, then creating or viewing schedules and room requests; reservation rules, approval/status handling, and optional Google Calendar synchronization support that workflow. Administrators also manage academic and room data and access dashboards and reports. The tree and excerpts establish the application entry points and several backend service responsibilities, but do not show router-to-service wiring or most frontend API calls, so those links are omitted.
Main entry points: App.jsx App and routing · reservation_service.py Reservation service · try_database.py SQL database · UserView.jsx User workspace
Components 23
Web application
- App and routing
frontend/src/App.jsx - Login UI
frontend/src/components/Login/Login.jsx - User workspace
frontend/src/components/UserView/UserView.jsx - Admin protection
frontend/src/components/Protection/Protection.jsx - Schedule workflow
frontend/src/components/Schedule/ScheduleViiew.jsx - Schedule form
frontend/src/components/Schedule/ScheduleForm.jsx - Room requests
frontend/src/components/UserView/RoomRequestForm.jsx - Calendar view
frontend/src/components/Calendar/MonthCalendar.jsx - Data management
frontend/src/components/AdminPainel/DataManager.jsx - Auth client
frontend/src/services/AuthService.js
API and domain
- FastAPI application
backend/app/main.py - HTTP routers
backend/app/routers - Authentication rules
backend/app/services/auth/auth_service.py - Reservation service
backend/app/services/booking/reservation_service.py - Solicitation service
backend/app/services/booking/solicitation_service.py - Entity services
backend/app/services/entities - Reporting service
backend/app/services/reporting/report_service.py - Calendar integration
backend/app/services/calendar/google_calendar.py
Persistence
- Allocation repository
backend/app/repositories/allocation_repository.py - Domain models
backend/app/models - SQL database
backend/app/try_database.py
External integrations
- Google Calendar
Other components
- Campus user
Connections 16
- Campus user → App and routing: uses
- App and routing → Login UI: shows
- App and routing → User workspace: routes users
- App and routing → Admin protection: routes admins
- App and routing → Schedule workflow: shows schedules
- App and routing → Auth client: fetches profile
- Schedule workflow → Schedule form: opens form
- User workspace → Room requests: offers requests
- FastAPI application → HTTP routers: registers routes
- Reservation service → Allocation repository: queries allocations
- Allocation repository → Domain models: loads allocation
- Reservation service → SQL database: queries and commits
- Authentication rules → SQL database: queries and commits
- Reporting service → SQL database: queries report data
- Reservation service → Google Calendar: syncs events
- Calendar integration → Google Calendar: integrates calendar