Best Rent is a car rental system built for Spring 2022 CS 411 B1 Project at Boston University.
Language used: Java, MySQL, HTML and CSS
IDE: Eclipse IDE 2022-03, Visual Studio Code
The whole system is divided into two parts: Rent_Terminal is for the car rental company to manage cars, customers, and rental history. Rent_CustomerWebsite is a frontend webpage built for customers to see available cars and submit request for renting them.
On the company side, employees can add, delete and edit vehicles and customer information. Rental history will also be shown in the terminal.
Customers can see an introduction to the company and to see the available cars and submit rental request through the website.
JDK 17 used throughout the whole project.
Apache Tomcat 10 used for the web project.
MySQL Connector Java 8.0.28 for communication between Java and MySQL database.
❗ Please make sure you have Apache Tomcat 10 and all the environment configered in Eclipse IDE.
- Execute best_rent.sql to create database schema
- To launch the Company Terminal:
- Import Rent_Terminal into Eclipse
- For every Java class, please change your MySQL connections username and password (EX. Our connection link is (jdbc:mysql://localhost:3302/best_rent","root",""), maybe you should make some modifications here.)
- Run LoginPage.java
- Default account: Admin, password: 12345
- To launch the Customer Website:
- Import Rent_CustomerWebsite into Eclipse
- Change your MySQL connections username and password in RentServlet.java and index.jsp
- Run index.jsp under webapp/index.jsp
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This is a group project made by: Tianyi Bao @bbbBao, Xiang Li @GussLii, Zijie Li @lzivan, Zhangde Song @peteroldriver
Webpage CSS Templete from W3.CSS
Company Terminal referenced tutussfunny