How kelvin-2/getyourride works
GetYourRide is an Android campus mobility app whose documented shuttle workflow lets a student select fixed stops and a departure time, then confirm a booking. The README describes the shuttle screens, state-management view models, and backend data layer; broader carpool, driver, trip-tracking, notification, profile, and rating capabilities are apparent in the source tree. Source excerpts do not expose implementation wiring for those branches, so their connections are omitted rather than inferred.
Main entry points: BookShuttleScreen.kt Book Shuttle · ShuttleHomescreen.kt Shuttle Home · ShuttleStopSelectionScreen.kt Stop Selection · Schedulerideviewmodel.kt Booking State
Components 20
Shuttle Booking
- Shuttle Home
app/src/main/java/com/example/getyourride/ui/screens/Shuttle/ShuttleHomescreen.kt - Book Shuttle
app/src/main/java/com/example/getyourride/ui/screens/Shuttle/BookShuttleScreen.kt - Stop Selection
app/src/main/java/com/example/getyourride/ui/screens/Shuttle/ShuttleStopSelectionScreen.kt - Booking State
app/src/main/java/com/example/getyourride/viewmodel/Schedulerideviewmodel.kt - Stop Search
app/src/main/java/com/example/getyourride/viewmodel/ShuttleStopSearchViewModel.kt - Shuttle Data
app/src/main/java/com/example/getyourride/data/repository/ShuttleRepository.kt - Shuttle API
app/src/main/java/com/example/getyourride/data/remote/api/ShuttleApi.kt
Carpool Rides
- Carpool Home
app/src/main/java/com/example/getyourride/ui/screens/Carpool/CarpoolHomeScreen.kt - Ride Search
app/src/main/java/com/example/getyourride/viewmodel/CarpoolSearchViewModel.kt - Request Ride
app/src/main/java/com/example/getyourride/ui/screens/RequestRideScreen.kt - Offer Ride
app/src/main/java/com/example/getyourride/ui/screens/OfferRideScreen.kt
Driver Operations
- Driver Application
app/src/main/java/com/example/getyourride/viewmodel/DriverApplicationViewModel.kt - Driver Home
app/src/main/java/com/example/getyourride/ui/screens/StudentDriverHomeScreen.kt - Shuttle Driver
app/src/main/java/com/example/getyourride/ui/screens/shuttleDriver/ShuttleDriverBoardingScreen.kt
Account and Trips
- Trip Tracking
app/src/main/java/com/example/getyourride/ui/screens/Tracking/TrackingScreen.kt - Notifications
app/src/main/java/com/example/getyourride/viewmodel/NotificationViewModel.kt - User Profile
app/src/main/java/com/example/getyourride/ui/screens/profiles/ProfileScreen.kt - Trip Ratings
app/src/main/java/com/example/getyourride/ui/screens/ratings/Ratetripscreen.kt
Other components
- Student
- Backend Service
Connections 9
- Student → Shuttle Home: opens
README.md - Shuttle Home → Book Shuttle: enters booking
README.md - Student → Book Shuttle: selects trip
README.md - Book Shuttle → Stop Selection: chooses stops
README.md - Book Shuttle → Booking State: manages state
README.md - Stop Selection → Stop Search: filters stops
README.md - Booking State → Shuttle Data: uses shuttle data
- Shuttle Data → Shuttle API: fetches data
- Shuttle API → Backend Service: requests stops
README.md