How lukasmacalusso/uct-map works
UCT Map is a campus platform spanning a React web client and .NET microservices. The user-facing workflow begins in the web app, where routed views expose campus mapping, incident and lost-item reporting, and academic scheduling; API services then handle those domain requests. Campus management also supports administrative editing, while Identity provides authentication and roles. The README documents mobile support and map navigation, but the supplied mobile tree contains platform runners rather than product screens. Several backend persistence and gateway-routing connections are not shown in sampled source, so those links are omitted or marked unverified.
Main entry points: AppRouter.tsx Feature routes · Program.cs API gateway · Handlers Campus handlers · httpClient.ts HTTP client
Components 24
Web client
- Web application
src/frontend/src/App.tsx - Feature routes
src/frontend/src/router/AppRouter.tsx - Interactive map
src/frontend/src/views/ShowcaseView.tsx - Reports, objects, contacts, schedule
src/frontend/src/views - Map editor
src/frontend/src/views/editor - HTTP client
src/frontend/src/api/httpClient.ts - Authentication client
src/frontend/src/services/authService.ts - Campus client and queries
src/frontend/src/hooks/useCampus.ts
API gateway
- API gateway
src/backend/ApiGateway/ApiGateway.API/Program.cs
Identity service
- Identity endpoints
src/backend/Services/Identity/Identity.API/Controllers/IdentityController.cs - Login, registration, roles
src/backend/Services/Identity/Identity.Application/Handlers - Users and roles
src/backend/Services/Identity/Identity.Domain/Entities/User.cs
Campus service
- Campus API
src/backend/Services/Campus/Campus.API/Controllers/BuildingController.cs - Campus handlers
src/backend/Services/Campus/Campus.Application/Handlers - Campus map domain
src/backend/Services/Campus/Campus.Domain/Entities/Campus.cs - Campus database
src/backend/Services/Campus/Campus.Infrastructure/Persistence/CampusDbContext.cs
Incident service
- Reports and lost-item APIs
src/backend/Services/Incident/Incident.API/Controllers - Incident handlers
src/backend/Services/Incident/Incident.Application/Handlers - Incident MongoDB
src/backend/Services/Incident/Incident.Infrastructure/Persistence/MongoDbContext.cs
Schedule service
- Schedule API
src/backend/Services/Schedule/Schedule.API/Controllers/MeetingsController.cs - Meeting and office-hour handlers
src/backend/Services/Schedule/Schedule.Application/Handlers - Schedule database
src/backend/Services/Schedule/Schedule.Infrastructure/Persistence/ScheduleDbContext.cs
Other components
- Campus users
- Mobile app
src/mobile
Connections 23
- Campus users → Web application: use
README.md - Web application → Feature routes: renders
- Feature routes → Interactive map: routes to
src/frontend/src/router/AppRouter.tsx - Feature routes → Reports, objects, contacts, schedule: routes to
src/frontend/src/router/AppRouter.tsx - Feature routes → Map editor: routes to
src/frontend/src/router/AppRouter.tsx - Feature routes → Authentication client: login flow
- Campus client and queries → HTTP client: sends requests
- Authentication client → HTTP client: sends requests
src/frontend/src/services/authService.ts - HTTP client → API gateway: sends API calls
README.md - API gateway → Identity endpoints: routes requests
- API gateway → Campus API: routes requests
- API gateway → Reports and lost-item APIs: routes requests
- API gateway → Schedule API: routes requests
- Identity endpoints → Login, registration, roles: executes
src/backend/Services/Identity/Identity.API/Controllers/IdentityController.cs - Login, registration, roles → Users and roles: uses
src/backend/Services/Identity/Identity.API/Controllers/IdentityController.cs - Campus API → Campus handlers: calls
src/backend/Services/Campus/Campus.API/Controllers/BuildingController.cs - Campus handlers → Campus map domain: uses
src/backend/Services/Campus/Campus.Application/Handlers/BuildingHandler.cs - Campus handlers → Campus database: persists via
- Reports and lost-item APIs → Incident handlers: dispatches to
src/backend/Services/Incident/Incident.API/Controllers/LostObjectsController.cs - Incident handlers → Incident MongoDB: persists via
- Schedule API → Meeting and office-hour handlers: calls
src/backend/Services/Schedule/Schedule.API/Controllers/MeetingsController.cs - Meeting and office-hour handlers → Schedule database: persists via
- Campus users → Mobile app: use
README.md