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.
- 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.
Ensure you have the following installed:
- Python 3
- Flask
- SQLite (or any preferred database)
-
Clone the repository:
git clone https://github.com/WanjakeKibe/MYSPACE cd MYSPACE
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
-
Set up the database:
flask db upgrade # If using Flask-Migrate
-
Run the application:
flask run
The app will be available at
http://127.0.0.1:5000/
POST /api/signup
- Register a new user.POST /api/login
- Log in a user.POST /api/logout
- Log out the current user.
POST /api/book
- Create a new booking.GET /api/bookings
- Retrieve user bookings.
- 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.
- Admin Panel for managing locations and bookings.
- Payment Integration for Premium & VIP bookings.
- Email Notifications for booking confirmations.
This project is licensed under the MIT License.