How atul-adhikari/car-rental-website works
Yatra Wheels is a car-rental website: visitors browse marketing and fleet pages, select a vehicle, and enter renter details. The sampled frontend shows local car data, filtering/comparison UI, and route-based booking handoff; it does not show a working payment page or a frontend-to-backend booking integration. The Django project is present, but sampled URL configuration exposes only admin, so its accounts behavior is not mapped. Links reflect sampled component and route wiring; unsampled details are omitted.
Main entry points: App.jsx Route shell · rentcar.jsx Fleet browsing · EnterDetails.jsx Renter details · main.jsx React entry
Components 13
Site Discovery
- React entry
frontend/src/main.jsx - Route shell
frontend/src/App.jsx - Home page
frontend/src/components/home.jsx - Why choose us
frontend/src/components/whychooseus.jsx - Navigation
frontend/src/components/navbar.jsx - Footer
frontend/src/components/footer.jsx
Rental Booking
- Fleet browsing
frontend/src/components/rentcar.jsx - Car catalogue
frontend/src/components/rentcar.jsx - Renter details
frontend/src/components/EnterDetails.jsx - Payment stage
Backend
- Django routes
backend/config/urls.py - Accounts app
backend/accounts
Other components
- Visitor
Connections 18
- Visitor → React entry: opens site
- React entry → Route shell: mounts
- Route shell → Navigation: renders
- Route shell → Footer: renders
- Route shell → Home page: routes home
- Route shell → Why choose us: routes about
- Route shell → Fleet browsing: routes fleet
- Route shell → Renter details: routes details
- Visitor → Home page: views
- Visitor → Why choose us: views
- Visitor → Fleet browsing: browses
- Car catalogue → Fleet browsing: supplies listings
- Fleet browsing → Route shell: books selected car
- Route shell → Renter details: passes selected car
- Visitor → Renter details: enters details
- Renter details → Route shell: confirms details
- Route shell → Payment stage: navigates toward
- Django routes → Accounts app: no route shown