The Rent-a-Car App is a web-based vehicle rental platform developed for the Web Programming course at the Faculty of Technical Sciences, Novi Sad. It is built using JAX-RS (Java API for RESTful Web Services) on the backend and Vue.js on the frontend. The app allows users to browse and book vehicles of their choice. The system supports three user roles: customers, managers, and administrators. The full specification is available here. The class diagram is available here. The application demo can be downloaded here.
- IntelliJ IDEA – Primary IDE for development
- Apache Tomcat – Local server for running the web application
- Bootstrap – Frontend framework for styling
- draw.io – Used for creating class diagram
To set up the project in Eclipse, follow these steps:
-
Ensure you have Eclipse IDE for Java and Web Developers installed.
-
Configure the Apache server port (default 8080 may conflict):
- Navigate to
Apache folder -> conf -> server.xml
. - Locate the
<Connector port="8080">
line and change it to another port, e.g.,8001
:<Connector port="8001" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
- Navigate to
-
Configure the server in Eclipse:
- Go to Window -> Preferences -> Server -> Runtime Environments.
- Click Add, select Apache -> Apache Tomcat v9.0, and click Next.
- Browse to the location of your Apache folder and click Finish.
-
Verify the JRE System Library configuration:
- Right-click on the project -> Build Path -> Configure Build Path.
- In the Java Build Path window, go to the Order and Export tab.
- Check if there is an [unbound] entry next to JRE System Library. If so, click the Libraries tab and Add Library, then select JRE System Library and choose the desired JRE version.
-
Running your project:
- Right-click on the project -> Run As -> Run on Server.