Aliong Car Rental Application is a web-based platform that enables users to rent vehicles for their transportation needs. Built using Python and JavaScript, this application offers a user-friendly interface for browsing & renting available vehicles for customer, and managing rental operation for admin.
Admin Side :
- Car Rental Management: Add, update, and delete cars data which available to rental.
- Car Return Confirmation: Confirm the returned rented cars from customer.
- Booking History Management: View and filter booking history based on date or with no filter.
- Report Generation: Generate PDF reports summarizing booking data.
- Email Blast / Newsletter: send newsletters or messages to selected customers all at the same time.
Customer Side :
- Car Search & Booking: View and browse available cars to book / rent. The selected car can be booked / rented based on the options available.
- Car Return Confirmation: Confirm the returned rented cars from customer.
- Booking History: View past and upcoming booking history.
- HTML5: Structure and layout of the app.
- CSS3: Styling and responsive design.
- JavaScript: Dynamic content and interaction.
- Python: Booking / rental process & management logic.
- MySQL: Storing & managing car rental data.
Follow these steps to set up and run the project locally:
-
Clone the Repository:
git clone https://github.com/Nesniw/Aliong-Car-Rental-App.git cd Aliong-Car-Rental-App
-
Ensure Python is installed and create virtual env for python project
python -m venv venv
-
Install flask with every required libraries
pip install Flask Flask-Mail PyMySQL Jinja2 ReportLab Werkzeug pdfkit
-
Configure specific settings
- app.py
app.secret_key = YOUR_SECRET_KEY' MAIL_USERNAME = 'your_email@example.com' # User needs to replace this MAIL_PASSWORD = 'your_password' # User needs to replace this
- model.py
return pymysql.connect(host="localhost", user="YOUR_USER_NAME", password="YOUR_PASSWORD", database="YOUR_DATABASE_NAME")
-
Run this command in the terminal
python -m flask run
or
flask run
Thank you for visiting Aliong Car Rental! 😊