How anesdevv/residence-management-system works
RÉSIVO is a university residence operations platform spanning student self-service, staff administration, and an AI facility assistant, backed by Supabase. The main student workflow is registration and academic verification, followed by approval and access to resident services; staff adjudicate applications and manage rooms, transfers, and maintenance. The graph preserves the README’s major capabilities. Internal links are limited to relationships documented in the README or visible in indexed excerpts; unsampled subsystem details are represented at directory level.
Main entry points: src Web Portal · client.py Backend Client · main_window.py Operations UI · main.py Desktop Console
Components 26
Student Web Portal
- Web Portal
web/src - Access Guards
web/src/middleware.ts - Registration
web/src/pages/api/register.ts - Student Login
web/src/pages/api/login.ts - Room Transfers
web/src/pages/api/room-change.ts - Photo Access
web/src/pages/api/photo-url.ts
Staff Console
- Desktop Console
desktop/main.py - Operations UI
desktop/app/ui/main_window.py - Operations Pages
desktop/app/ui/pages - Staff Login
desktop/app/ui/login_window.py - Live Sync
desktop/app/ui/live_sync.py - Background Tasks
desktop/app/ui/tasks.py - Backend Client
desktop/app/client.py - Session Store
desktop/auth/session_store.py - App Updater
desktop/updater/service.py
AI Assistant
- Worker Gateway
mcp-worker/src/index.ts - Assistant Tools
mcp-worker/src/mcp.ts - OAuth Consent
mcp-worker/src/oauth.ts - Python MCP Server
mcp/server.py
Backend Services
- Supabase Platform
- Supabase Auth
- Edge Functions
supabase/functions - Photo Storage
Other components
- Student
- Housing Staff
- MCP Client
Connections 31
- Student → Web Portal: uses
README.md - Web Portal → Registration: registers through
README.md - Registration → Supabase Platform: verifies and stores
README.md - Web Portal → Student Login: signs in through
README.md - Student Login → Supabase Auth: authenticates with
README.md - Web Portal → Access Guards: passes through
README.md - Access Guards → Supabase Auth: checks session
README.md - Web Portal → Room Transfers: submits transfer
README.md - Room Transfers → Supabase Platform: stores request
README.md - Web Portal → Photo Access: requests photo URL
README.md - Photo Access → Photo Storage: gets signed URL
README.md - Housing Staff → Desktop Console: uses
README.md - Desktop Console → Operations UI: starts
desktop/main.py - Operations UI → Staff Login: presents login
desktop/app/ui/main_window.py - Operations UI → Operations Pages: hosts
desktop/app/ui/main_window.py - Operations UI → Live Sync: starts live sync
README.md - Operations Pages → Background Tasks: runs actions through
desktop/app/ui/tasks.py - Operations Pages → Backend Client: requests operations
desktop/app/ui/pages/room_changes.py - Desktop Console → Backend Client: creates
desktop/main.py - Backend Client → Supabase Platform: reads and writes
README.md - Staff Login → Session Store: persists session
README.md - Operations UI → App Updater: uses updater
desktop/app/ui/main_window.py - MCP Client → Worker Gateway: connects to
README.md - Worker Gateway → Assistant Tools: routes MCP requests
mcp-worker/src/index.ts - Worker Gateway → OAuth Consent: configures OAuth
mcp-worker/src/index.ts - Assistant Tools → Supabase Platform: queries operations data
README.md - Housing Staff → Python MCP Server: uses
README.md - Python MCP Server → Supabase Platform: queries operations data
README.md - Backend Client → Supabase Auth: uses session
README.md - Backend Client → Photo Storage: fetches photos
README.md - Backend Client → Edge Functions: invokes admin functions
README.md