How mongkulim-a07y/parking-booking-system works
This is a role-based parking-booking CLI whose intended workflow is account access, lot/slot discovery, booking and booking lifecycle management, with administration and reporting alongside it. The README documents these capabilities, but the sampled implementation is incomplete: the CLI and list/model source files are empty stubs, and FileManager methods are TODOs. The graph therefore reflects documented responsibilities and declared interfaces; it does not imply that these features currently run end to end.
Main entry points: FileManager.h CSV file manager · main.cpp CLI entry · ParkingSystem.h Business coordinator · ParkingLot.h Parking lot
Components 22
CLI interaction
- CLI entry
src/main.cpp
Parking operations
- Accounts and roles
include/services/ParkingSystem.h - Lot administration
include/services/ParkingSystem.h - Search and pricing
include/services/ParkingSystem.h - Booking lifecycle
include/services/ParkingSystem.h - Admin reports
include/services/ParkingSystem.h - Business coordinator
include/services/ParkingSystem.h
Domain and lists
- User model
include/models/User.h - Parking lot
include/models/ParkingLot.h - Floor
include/models/Floor.h - Slot
include/models/Slot.h - Booking
include/models/Booking.h - User list
include/ds/UserList.h - Lot list
include/ds/LotList.h - Floor list
include/ds/FloorList.h - Slot list
include/ds/SlotList.h - Booking list
include/ds/BookingList.h
CSV persistence
- CSV file manager
include/services/FileManager.h - User records
data/users.csv - Lot records
data/lots.csv - Booking records
data/bookings.csv
Other components
- User
Connections 25
- User → CLI entry: uses
README.md - CLI entry → Accounts and roles: requests access
README.md - CLI entry → Lot administration: manages inventory
README.md - CLI entry → Search and pricing: searches slots
README.md - CLI entry → Booking lifecycle: manages bookings
README.md - CLI entry → Admin reports: requests reports
README.md - Accounts and roles → Business coordinator: delegates
include/services/ParkingSystem.h - Lot administration → Business coordinator: delegates
include/services/ParkingSystem.h - Search and pricing → Business coordinator: delegates
include/services/ParkingSystem.h - Booking lifecycle → Business coordinator: delegates
include/services/ParkingSystem.h - Admin reports → Business coordinator: delegates
include/services/ParkingSystem.h - Business coordinator → CSV file manager: loads and saves
include/services/ParkingSystem.h - CSV file manager → User records: reads and writes
include/services/FileManager.h - CSV file manager → Lot records: reads and writes
include/services/FileManager.h - CSV file manager → Booking records: reads and writes
include/services/FileManager.h - CSV file manager → User list: loads and saves
include/services/FileManager.h - CSV file manager → Lot list: loads and saves
include/services/FileManager.h - CSV file manager → Booking list: loads and saves
include/services/FileManager.h - Parking lot → Floor list: owns floors
include/models/ParkingLot.h - Floor → Slot list: owns slots
include/models/Floor.h - User list → User model: stores users
include/ds/UserList.h - Lot list → Parking lot: stores lots
include/ds/LotList.h - Floor list → Floor: stores floors
include/ds/FloorList.h - Slot list → Slot: stores slots
include/ds/SlotList.h - Booking list → Booking: stores bookings
include/ds/BookingList.h