How crypto-darth/campusshuttle-pro-bennettuniversity works
Project type and purpose
• This is a cross‑platform mobile application built with Expo (React Native) that provides two distinct user experiences—one for school bus drivers and one for students.
• The driver side allows bus drivers to see routes, student lists, and attendance. The student side allows students (or parents) to track the bus, view schedules, trigger SOS alerts, and mark attendance.
File structure
• Top‑level “app” directory uses Expo’s file‑based routing. Under it:
• _layout.tsx – Root layout and navigation wrapper.
• index.tsx – Home or role‐selection screen.
• driver/index.tsx + driver/components/... – Entire driver UI module.
• student/index.tsx + student/components/... – Entire student UI module.
• services/ contains business‑logic modules that wrap Firebase calls (attendanceService, busService, routeService, shuttleService) and utilities (dateUtils).
• firebase.js + services/firebaseConfig.js handle Firebase initialization and config.
• scripts/ contains Node scripts for initializing and seeding the database.
• assets/, styles/ hold fonts, images, and styling files.
README
• Confirms it’s created by create-expo-app and uses Expo Router.