How metshein/car_rent works
This is a small PHP/MySQL car-rental website prototype: visitors search a car listing and open a car detail page, while an admin area provides an early management interface. The tree contains several parallel directories; the sampled public listing/detail flow is under autorent/, while the sampled admin pages are under car_rent/. The README also outlines authentication, user accounts and reservations as later stages, but the tree has no corresponding runtime implementation, so these are shown as documented plans rather than wired features.
Main entry points: admin/index.php Admin listing · autorent/index.php Car listing · single_car.php Car detail · car_edit.php Car editor
Components 13
Public rental site
- Car listing
autorent/index.php - Car detail
autorent/single_car.php
Car administration
- Admin listing
car_rent/admin/index.php - Car editor
car_rent/car_edit.php
Database access
- DB connection
autorent/config.php - Cars database
autorent/db/car_rent.sql - DB connection
car_rent/config.php - Cars database
car_rent/car_rent.sql
Documented future stages
- Admin authentication
README.md - User accounts
README.md - Reservations
README.md
Other components
- Renter
- Admin
Connections 14
- Renter → Car listing: opens
- Car listing → DB connection: includes
- Car listing → Cars database: queries cars
- Car listing → Car detail: links to
- Car detail → DB connection: includes
- Car detail → Cars database: queries car
- Admin → Admin listing: opens
- Admin listing → DB connection: includes
- Admin listing → Cars database: queries cars
- Admin listing → Car editor: edit link
- Car editor → DB connection: includes
- Car editor → Cars database: queries car
- Admin authentication → Admin listing: planned protection
- User accounts → Reservations: planned association