Skip to content

ParkGenie πŸš— - Smart Parking Solution ParkGenie is an AI-powered smart parking solution that helps users find, reserve, and pay for parking spots in real-time. The platform integrates IoT sensors, AI-based predictions, and a community forum for enhanced user engagement.

Notifications You must be signed in to change notification settings

kashish2710/park-genie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Park Genie

Project Overview

Park Genie is a smart parking management system that enables users to find, book, and predict parking slot availability. The system integrates Node.js (Express.js), MongoDB, and Python (Machine Learning) to optimize parking slot usage and provide real-time availability and predictions based on historical data.

Features:

Real-time Parking Slot Availability: View available slots before arriving.

QR Code-based Booking System: Users receive a QR code for payment confirmation.

Machine Learning Predictions: Predicts when a slot will be free based on past data.

Session-based Slot Reservation: Ensures seamless user experience.

MongoDB Integration: Stores user and slot data efficiently.

Dependencies

Backend (Node.js + Express)

Node.js 18+

Express – Web framework

Path – Built-in Node.js module for handling file paths

EJS-Mate – Layout engine for EJS templates

Mongoose – MongoDB ODM

Body-parser – Middleware to parse incoming request bodies

Dotenv – Loads environment variables

Axios – HTTP client for API requests

CORS – Middleware for cross-origin requests

QRCode – Generates QR codes

Express-session – Manages user sessions

Python-shell – Runs Python scripts from Node.js

Child_process – Spawns and manages system processes

Machine Learning Model (Python)

Python 3.9+

Pandas – Data manipulation

NumPy – Numerical computing

Scikit-learn – ML model implementation

Joblib – Saves and loads ML models

Flask – Serves ML predictions via API

Setup Instructions

1. Clone the Repository

git clone https://github.com/kashish2710/park-genie.git

cd park-genie

2. Set up virtual environment

python3 -m venv venv OR
python -m venv venv

source venv/bin/activate # On macOS/Linux

venv\Scripts\activate # On Windows

3. Install Dependencies

For Node.js Backend:

npm install express path ejs-mate mongoose body-parser dotenv axios cors qrcode express-session python-shell child_process

For Python ML Model:

pip install pandas flask joblib scikit-learn

4. Run the Application

Start the Backend Server

node app.js

Server will be available at: http://localhost:8080

API Endpoints

GET / β†’ View the front Page.

GET /parking-slot β†’ View all parking slots.

GET /available-slots β†’ Returns the number of available slots.

POST /confirm-payment β†’ Confirms slot payment and updates availability.

POST /next β†’ Stores selected slot in session.

POST /payment β†’ Registers user details and generates QR Code.

POST /check-slot β†’ Predicts when a slot will be free.

Future Enhancements

Integration with IoT sensors for real-time occupancy updates.

Implementing automated payments.

Enhancing ML predictions with more data points.

License

This project is licensed under the MIT License.

Contributing

If you want to contribute please feel free to fork this repo and submit a pull request.

Contact

For any queries, reach out to the project maintainers.

About

ParkGenie πŸš— - Smart Parking Solution ParkGenie is an AI-powered smart parking solution that helps users find, reserve, and pay for parking spots in real-time. The platform integrates IoT sensors, AI-based predictions, and a community forum for enhanced user engagement.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •