How likhitpvs-dev/smartcampushub works
SmartCampusHub is a campus-management web application for events, student registrations, hackathon teams, announcements, and user management. Its likely user journey begins in the web interface and reaches backend API routes for those campus services, with PostgreSQL as the documented database. The tree identifies dedicated backend modules for each capability, plus configuration, database, and query layers. Source excerpts are empty, so runtime wiring and specific calls cannot be verified; dashed, unevidenced links indicate only the documented product shape, not inspected control flow.
Main entry points: main.py API application · index.html Web interface · db.py Database access · queries Query layer
Components 13
Web interface
- Web interface
frontend/index.html
Backend API
- API application
backend/app/main.py
Campus services
- Authentication
backend/app/routers/auth.py - User management
backend/app/routers/users.py - Announcements
backend/app/routers/announcements.py - Events
backend/app/routers/events.py - Registrations
backend/app/routers/registrations.py - Hackathon teams
backend/app/routers/teams.py
Data layer
- Configuration
backend/app/config.py - Database access
backend/app/db.py - Query layer
backend/app/queries
Other components
- Campus user
- PostgreSQL
Connections 10
- Campus user → Web interface: uses
- Web interface → API application: calls API
- API application → Authentication: routes to
- API application → User management: routes to
- API application → Announcements: routes to
- API application → Events: routes to
- API application → Registrations: routes to
- API application → Hackathon teams: routes to
- Database access → PostgreSQL: accesses
- Query layer → PostgreSQL: queries