How gouthamreddy17/psm-parking-slot-manager- works
This is a Flask and MySQL parking-management web application for users, staff, and administrators. The main operational flow is user vehicle registration and slot booking, followed by staff vehicle entry and exit, fee calculation, and retained parking history; administrators manage slots and people and review records and reports. Flask routes coordinate these capabilities through database query helpers and render role-specific pages. The README documents several capabilities whose route implementations were not sampled, so those relationships are shown as unverified rather than asserted from unseen code.
Main entry points: app.py Flask routes · query.py SQL query helpers · connection.py MySQL connection · templates Role-based pages
Components 17
Web application
- Flask routes
app.py - Accounts and login
app.py - Role-based pages
templates
Parking operations
- Vehicle registration
app.py - Slot booking
app.py - Vehicle entry
app.py - Exit and fees
app.py - Parking history
app.py
Administration
- Slot management
app.py - User and staff management
app.py - Records and reports
app.py
Data access
- SQL query helpers
database/query.py - MySQL connection
database/connection.py
Other components
- Users
- Staff
- Administrators
- MySQL database
Connections 23
- Users → Flask routes: use
README.md - Staff → Flask routes: use
README.md - Administrators → Flask routes: use
README.md - Flask routes → Accounts and login: routes
app.py - Flask routes → Role-based pages: renders
app.py - Flask routes → SQL query helpers: calls
app.py - Flask routes → Vehicle registration: routes
app.py - Flask routes → Slot booking: routes
README.md - Flask routes → Vehicle entry: routes
app.py - Flask routes → Exit and fees: routes
app.py - Flask routes → Parking history: routes
README.md - Flask routes → Slot management: routes
app.py - Flask routes → User and staff management: routes
app.py - Flask routes → Records and reports: routes
app.py - SQL query helpers → MySQL connection: opens
database/query.py - MySQL connection → MySQL database: connects
database/connection.py - Slot booking → SQL query helpers: stores booking
app.py - Vehicle entry → SQL query helpers: records entry
database/query.py - Exit and fees → SQL query helpers: updates record
database/query.py - Parking history → SQL query helpers: reads history
app.py - Slot management → SQL query helpers: manages slots
app.py - User and staff management → SQL query helpers: manages accounts
app.py - Records and reports → SQL query helpers: reads reports
app.py