Skip to content

KH-Coder865/ParkSense_KH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modern Parking Management System

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.

Features

  • 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.

📁 Project Structure

/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  

🚀 Technical Stack

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

🔧 Libraries:

  • Flask-SQLAlchemy, Flask, Jinja2

🛠 Tools:

  • IDE: Visual Studio Code

📦 Package Management:

  • Pip: Install dependencies from dependencies.txt

💻 Setup Instructions

1. Install Python

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 python3

    To confirm Python is installed, run this in your terminal:

    python --version

2. Clone the repository

  -git clone https://github.com/24f3000211/parking-management-system.git

3. Set Up a Virtual Environment

A virtual environment is recommended to keep project dependencies isolated.

  1. 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.

  2. Activate the Virtual Environment:

    • Windows:
     venv\Scripts\activate
    • macOS/Linux:
     source venv/bin/activate

    After activation, your terminal prompt should change to something like:

    (venv) $

4. Install Dependencies

pip install -r dependencies.txt

5. Run the Project

    -cd parking_app_24f3000211
    -python app.py

The app should now be running.


! Issue Log

  • 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.

👤 Author

Kaushik Harsha


About

This is a project that will help in swift and efficient management of parking lots, available for multiple users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors