How shaikfirdose2008/car-rental-system-1 works
CarGo is a React car-rental demo. Drivers explore and filter a seeded fleet, choose a vehicle and dates, create a booking, and complete payment to confirm a trip; accounts, bookings and fleet operations are handled through shared application state and browser persistence. The UI also exposes smart matching, wishlists, rewards, and an admin control room for fleet, booking, customer, driver and maintenance management. The README is only a title, so feature coverage comes from sampled UI excerpts; unsampled routes and their internal calls are not mapped.
Main entry points: AppContext.jsx Application state and booking rules · App.jsx App routing and pages · main.jsx React bootstrap · storage.js Browser persistence
Components 16
Rental experience
- App routing and pages
src/App.jsx - Car search and booking
src/App.jsx - Smart matching
src/App.jsx - Account and profile
src/App.jsx - Wishlist and rewards
src/App.jsx
Rental operations
- Admin control room
src/App.jsx - Fleet management
src/App.jsx - Booking management
src/App.jsx - Rental monitoring
src/App.jsx - Customer and driver management
src/App.jsx - Predictive maintenance
src/App.jsx
App runtime and state
- React bootstrap
src/main.jsx - Application state and booking rules
src/context/AppContext.jsx - Browser persistence
src/utils/storage.js
Fleet catalog
- Seed fleet data
src/data/cars.js
Other components
- Renter
Connections 24
- Renter → App routing and pages: uses
src/App.jsx - React bootstrap → App routing and pages: renders
src/main.jsx - React bootstrap → Application state and booking rules: provides
src/main.jsx - App routing and pages → Application state and booking rules: reads and updates
src/App.jsx - App routing and pages → Car search and booking: routes to
src/App.jsx - App routing and pages → Smart matching: routes to
src/App.jsx - App routing and pages → Account and profile: routes to
src/App.jsx - App routing and pages → Wishlist and rewards: routes to
src/App.jsx - App routing and pages → Admin control room: routes to
src/App.jsx - Car search and booking → Application state and booking rules: creates bookings
src/App.jsx - Account and profile → Application state and booking rules: authenticates
src/App.jsx - Wishlist and rewards → Application state and booking rules: updates rewards
src/App.jsx - Admin control room → Fleet management: shows
src/App.jsx - Admin control room → Booking management: shows
src/App.jsx - Admin control room → Rental monitoring: shows
src/App.jsx - Admin control room → Customer and driver management: shows
src/App.jsx - Admin control room → Predictive maintenance: shows
src/App.jsx - Fleet management → Application state and booking rules: updates fleet
src/App.jsx - Booking management → Application state and booking rules: updates bookings
src/App.jsx - Rental monitoring → Application state and booking rules: reads bookings
src/App.jsx - Customer and driver management → Application state and booking rules: reads and updates
src/App.jsx - Predictive maintenance → Application state and booking rules: updates records
src/App.jsx - Application state and booking rules → Seed fleet data: initializes fleet
src/context/AppContext.jsx - Application state and booking rules → Browser persistence: loads and saves
src/context/AppContext.jsx