How cosenhub07/timbel works
Timbel is a campus-focused student web and mobile application combining timetable and attendance tools with campus discovery, chat, notifications, and SendiYou social features. Users enter through the web routes or mobile navigator; protected experiences are organized around authentication and campus selection. The server exposes corresponding API route families, while Supabase is configured as a client-side data and authentication service. The supplied excerpts establish app routing, provider setup, server route mounting, and selected auth/data access; most feature-page internals and mobile-to-server request relationships were not sampled, so those links are omitted.
Main entry points: App.jsx Web app router · index.js Express API · AuthContext.jsx Web identity · main.jsx Web entry
Components 29
Web application
- Web app router
client/src/App.jsx - Web entry
client/src/main.jsx - Web identity
client/src/context/AuthContext.jsx - Web notifications
client/src/context/NotificationContext.jsx - Campus login
client/src/components/CampusLoginModal.jsx - Room finder
client/src/pages/FinderPage.jsx - Class timetable
client/src/pages/ClassTimetablePage.jsx - Attendance planner
client/src/pages/AttendancePlannerPage.jsx - Teacher status
client/src/pages/TeacherStatusPage.jsx - SendiYou social
client/src/pages/SendiYouPage.jsx - Chat
client/src/pages/ChatPage.jsx - Admin console
client/src/pages/AdminPage.jsx
Mobile application
- Mobile app
mobile/App.js - Mobile navigation
mobile/src/navigation/MainNavigator.js - Mobile identity
mobile/src/context/AuthContext.js - Mobile API client
mobile/src/lib/api.js - Mobile chat
mobile/src/screens/ChatScreen.js - Mobile feature screens
mobile/src/screens
API server
- Express API
server/index.js - Admin operations
server/routes/admin.js - Excel timetable parser
server/utils/excelParser.js - Attendance routes
server/routes/attendance.js - Timetable routes
server/routes/timetable.js - Chat routes
server/routes/chat.js - SendiYou routes
server/routes/sendiyou.js - Notification routes
server/routes/notifications.js - Campus routes
server/routes/campuses.js
Data and identity
- Supabase
Other components
- Student
Connections 31
- Student → Web app router: uses
- Web entry → Web app router: renders
client/src/main.jsx - Web entry → Web identity: provides
client/src/main.jsx - Web entry → Web notifications: provides
client/src/main.jsx - Web app router → Room finder: routes to
client/src/App.jsx - Web app router → Class timetable: routes to
client/src/App.jsx - Web app router → Attendance planner: routes to
client/src/App.jsx - Web app router → Teacher status: routes to
client/src/App.jsx - Web app router → SendiYou social: routes to
client/src/App.jsx - Web app router → Chat: routes to
client/src/App.jsx - Web app router → Admin console: routes to
client/src/App.jsx - Web identity → Supabase: authenticates via
client/src/context/AuthContext.jsx - Web identity → Campus routes: fetches campuses
client/src/context/AuthContext.jsx - Web notifications → Web identity: reads user
client/src/context/NotificationContext.jsx - Web notifications → Supabase: reads and updates
client/src/context/NotificationContext.jsx - Student → Mobile app: uses
- Mobile app → Mobile identity: provides
mobile/App.js - Mobile app → Mobile navigation: renders
mobile/App.js - Mobile navigation → Mobile feature screens: navigates to
mobile/src/navigation/MainNavigator.js - Mobile navigation → Mobile chat: navigates to
mobile/src/navigation/MainNavigator.js - Mobile identity → Mobile API client: fetches campuses
mobile/src/context/AuthContext.js - Mobile identity → Supabase: authenticates via
mobile/src/context/AuthContext.js - Express API → Admin operations: mounts
server/index.js - Express API → Attendance routes: mounts
server/index.js - Express API → Timetable routes: mounts
server/index.js - Express API → Chat routes: mounts
server/index.js - Express API → SendiYou routes: mounts
server/index.js - Express API → Notification routes: mounts
server/index.js - Express API → Campus routes: mounts
server/index.js - Admin operations → Excel timetable parser: parses uploads
server/routes/admin.js - Admin operations → Supabase: queries data
server/routes/admin.js