How johnrayyyy/bay-station works
The product is a unified Flask campus kiosk. Students and staff enter through the kiosk dashboard, then use LostLink to report or claim items, RGO to browse and order products, or Grievance to submit and track concerns; administrators manage each workflow. The app also documents a campus calendar and interactive map, plus a dashboard with cross-module statistics. The excerpts show module persistence patterns and the Grievance API’s placeholder behavior, but do not establish every registration, database binding, or notification path; uncertain connections are omitted.
Main entry points: app.py Flask application · lostlink_bp.py Lost and found workflows · grievance_bp.py Concern workflows · rgo_bp.py Catalog and orders
Components 17
Kiosk shell
- Flask application
app.py - Unified dashboard
templates/dashboard.html - Campus calendar
templates/calendar.html - Campus map
templates/map.html - Database and mail extensions
extension.py
LostLink
- Lost and found workflows
blueprints/lostlink_bp.py - LostLink screens
templates/lostlink - LostLink database
databases/lostlink.db
RGO commerce
- Catalog and orders
blueprints/rgo_bp.py - RGO screens
templates/rgo - RGO database
databases/rgo.db
Grievance
- Concern workflows
blueprints/grievance_bp.py - Grievance screens
templates/grievance - Grievance database
databases/grievance.db - Grievance REST API
blueprints/grievance_api.py
Other components
- Campus user
- Email service
Connections 22
- Campus user → Flask application: opens kiosk
README.md - Flask application → Unified dashboard: serves dashboard
README.md - Flask application → Campus calendar: serves calendar
README.md - Flask application → Campus map: serves map
README.md - Flask application → Lost and found workflows: routes to
README.md - Flask application → Catalog and orders: routes to
README.md - Flask application → Concern workflows: routes to
README.md - Campus user → LostLink screens: uses
README.md - Campus user → RGO screens: uses
README.md - Campus user → Grievance screens: uses
README.md - Lost and found workflows → LostLink screens: renders
blueprints/lostlink_bp.py - Catalog and orders → RGO screens: renders
blueprints/rgo_bp.py - Concern workflows → Grievance screens: renders
blueprints/grievance_bp.py - Lost and found workflows → Database and mail extensions: uses database
blueprints/lostlink_bp.py - Catalog and orders → Database and mail extensions: uses database
blueprints/rgo_bp.py - Concern workflows → Database and mail extensions: uses database
blueprints/grievance_bp.py - Lost and found workflows → LostLink database: persists reports
- Catalog and orders → RGO database: persists orders
- Concern workflows → Grievance database: persists concerns
- Flask application → Grievance REST API: integrates API
app.py - Lost and found workflows → Email service: sends notices
- Concern workflows → Email service: sends notices