Skip to content

The following repository contains a functioning website for booking parking spaces in the city.

License

Notifications You must be signed in to change notification settings

Mayen007/EasyPark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parking Lot Booking System

Overview

The Parking Lot Booking System is a web application that allows users to book parking slots online. Users can sign up, log in, and reserve slots based on available locations. The system also supports managing bookings.

Features

  • User Authentication: Sign up, log in, and manage sessions.
  • Parking Slot Booking: Select locations, choose check-in and check-out times, and confirm bookings.
  • Pricing Plans: Choose from Basic, Premium, and VIP tiers.
  • Booking Management: View, cancel, and manage existing bookings.
  • Admin Panel (Future Feature): Manage locations, users, and bookings.

Installation

Prerequisites

Ensure you have the following installed:

  • Python 3
  • Flask
  • SQLite (or any preferred database)

Setup

  1. Clone the repository:

    git clone https://github.com/WanjakeKibe/MYSPACE
    cd MYSPACE
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set up the database:

    flask db upgrade  # If using Flask-Migrate
  5. Run the application:

    flask run

    The app will be available at http://127.0.0.1:5000/

API Endpoints

Authentication

  • POST /api/signup - Register a new user.
  • POST /api/login - Log in a user.
  • POST /api/logout - Log out the current user.

Booking

  • POST /api/book - Create a new booking.
  • GET /api/bookings - Retrieve user bookings.

Frontend Implementation

  • The frontend is built using HTML, CSS, and JavaScript.
  • The booking dashboard supports real-time updates using AJAX.
  • Users can cancel bookings via the dashboard.

Future Enhancements

  • Admin Panel for managing locations and bookings.
  • Payment Integration for Premium & VIP bookings.
  • Email Notifications for booking confirmations.

License

This project is licensed under the MIT License.

About

The following repository contains a functioning website for booking parking spaces in the city.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.7%
  • C++ 1.3%
  • C 0.3%
  • HTML 0.2%
  • PowerShell 0.1%
  • Cython 0.1%
  • Other 0.3%