How basy110/-basak- works
Basak is a university bus-subscription system with an admin dashboard, mobile apps, and a Supabase backend. The available source supports a detailed map of the dashboard’s authentication, company/platform workspaces, and administrative capabilities, plus the documented backend boundary. Mobile application runtime files and most backend implementations are absent from the supplied tree, so those are represented only at the documented system level; feature-level edges are limited to route evidence and README statements.
Main entry points: Workspace.tsx Company workspace · PlatformArea.tsx Platform workspace · App.tsx Dashboard app · routes.ts Page routing
Components 20
Admin dashboard
- Dashboard app
admin_web/src/App.tsx - Page routing
admin_web/src/lib/routes.ts - Scoped query cache
admin_web/src/lib/query.ts
Company operations
- Company workspace
admin_web/src/areas/Workspace.tsx - Daily overview
admin_web/src/pages/TodayPage.tsx - Bus lines
admin_web/src/pages/LinesPage.tsx - Student subscriptions
admin_web/src/pages/StudentsPage.tsx - Receipt review
admin_web/src/pages/ReceiptsPage.tsx - Staff management
admin_web/src/pages/TeamPage.tsx - Notifications
admin_web/src/pages/NotificationsPage.tsx - Reports and analytics
admin_web/src/pages/ReportsPage.tsx
Platform management
- Platform workspace
admin_web/src/areas/PlatformArea.tsx - Company administration
admin_web/src/pages/platform/CompaniesPage.tsx - Platform students
admin_web/src/pages/platform/AllStudentsPage.tsx - Merchants and offers
admin_web/src/pages/platform/OffersPage.tsx - Platform billing
admin_web/src/pages/platform/PlatformBillingPage.tsx - Platform analytics
admin_web/src/pages/platform/PlatformAnalyticsPage.tsx
Cloud backend
- Supabase services
- Edge functions
supabase/functions
Other components
- Admin user
Connections 20
- Admin user → Dashboard app: opens
README.md - Dashboard app → Page routing: selects pages
admin_web/src/App.tsx - Page routing → Company workspace: routes to
admin_web/src/lib/routes.ts - Company workspace → Daily overview: routes to
admin_web/src/areas/Workspace.tsx - Company workspace → Bus lines: routes to
admin_web/src/areas/Workspace.tsx - Company workspace → Student subscriptions: routes to
admin_web/src/areas/Workspace.tsx - Company workspace → Receipt review: routes to
admin_web/src/areas/Workspace.tsx - Company workspace → Staff management: routes to
admin_web/src/areas/Workspace.tsx - Company workspace → Notifications: routes to
admin_web/src/areas/Workspace.tsx - Company workspace → Reports and analytics: routes to
admin_web/src/lib/routes.ts - Dashboard app → Platform workspace: routes to
admin_web/src/App.tsx - Platform workspace → Company administration: routes to
admin_web/src/lib/routes.ts - Platform workspace → Platform students: routes to
admin_web/src/lib/routes.ts - Platform workspace → Merchants and offers: routes to
admin_web/src/lib/routes.ts - Platform workspace → Platform billing: routes to
admin_web/src/lib/routes.ts - Platform workspace → Platform analytics: routes to
admin_web/src/lib/routes.ts - Dashboard app → Scoped query cache: configures
admin_web/src/App.tsx - Company workspace → Supabase services: uses cloud backend
README.md - Platform workspace → Supabase services: uses cloud backend
README.md - Supabase services → Edge functions: provides functions
README.md