This is a smart and modern parking management system that helps in swift and efficient management of parking lots/spots, available for multiple users with visual insights.
- Authentication and role-based access.
- Admin and User Dashboards with Lot/Spot & Reservation/Release/History Management.
- Real time Parking Cost calculation based on timestamps.
- Spot Availability status and dynamic updates.
- Admin View for history of each parking spots, and information of all the users having their account in this web application.
- Search functionality for both the user and admin.
- Responsive UI/styling and visually appealing summary using bootstrap and chart.js for both user and admin.
/parking-management-system(Git Hub Repository)
└──/parking_app_24f3000211
│
├── /instance
| └── parking_manage.sqlite3
|
├── /templates
│ ├── admin_dash.html
│ ├── edit.html
│ ├── login.html
│ ├── register.html
│ ├── spot_hist.html
│ ├── summary.html
│ ├── user_dash.html
│ └── users.html
│
├── /controllers
│ └── controllers.py
│
├── /static
│ ├── limg.jpg
│ ├── style.css
│ ├── style2.css
│ ├── cost.js
│ └── summarise.js
│
├── /models
│ └── models.py
|
├── README.md
│
└── app.py
This project utilizes the following technologies:
- Backend: Flask (lightweight Python framework)
- Database: SQLAlchemy (ORM for database management)(SQLite DB)
- Frontend: HTML/CSS, Bootstrap (responsive web design), Chart.JS (for summary)
- Version Control: Git & GitHub
- Flask-SQLAlchemy, Flask, Jinja2
- IDE: Visual Studio Code
- Pip: Install dependencies from
dependencies.txt
To run this project, you’ll need to have Python 3.7+ installed on your system.
-n, make sure to check the box to Add Python to PATH.
-
Windows: Download Python and check Add Python to PATH.
-
macOS:
brew install python -
Linux:
sudo apt install python3To confirm Python is installed, run this in your terminal:
python --version
-git clone https://github.com/24f3000211/parking-management-system.gitA virtual environment is recommended to keep project dependencies isolated.
-
Create a Virtual Environment:
In your project’s root directory, run the following command to create the virtual environment:
python -m venv venv
This will create a venv directory where the isolated Python environment will reside.
-
Activate the Virtual Environment:
- Windows:
venv\Scripts\activate
- macOS/Linux:
source venv/bin/activateAfter activation, your terminal prompt should change to something like:
(venv) $
pip install -r dependencies.txt -cd parking_app_24f3000211
-python app.pyThe app should now be running.
- filter_by() failed silently on None fields when checking for NOT NULL.
- Reservation cost logic error due to accessing dictionary key before formation of one such.
- Chart used repeated colors with limited backgroundColor array.
- Chart wasn't responsive without responsive: true.
- JS errors occurred when HTML element with data-* was missing.
- Chart data not passed correctly caused rendering to fail silently.
- Jinja templating errors were caught via app.debug = True logs.
Kaushik Harsha
- GitHub: @24f3000211