This public Github repository contains a school project for a car rental company web application developed using Java, Spring, JavaServer Faces, Maven, and Primefaces. The project aims to provide a user-friendly interface for customers to rent cars and for the company to manage their inventory. The application utilizes Maven for dependency management and building the project, Spring for implementing the backend, JavaServer Faces for the frontend, and Primefaces for creating a visually appealing interface. This project provides a solid foundation for understanding how these technologies work together to create a functional web application.
- Java 8
- Maven
- PostgreSQL
- Tomcat 9.5
- IDE (Eclipse, Netbeans, IntelliJ, etc.)
- Create a database named
pweb
in PostgreSQL - Create a user named
pweb
with passwordpweb
and grant all privileges on the databasepweb
- Restore the database from the repository
pweb-backend
(filecarRent2.backup
)
- Clone the repository
pweb-backend
, located at and import it as a Maven project in your IDE - Open the project in your IDE
Run as > Maven install
to install the dependencies and build the project (this will generate apweb.war
file in thetarget
folder) - Copy the
pweb.war
file to thewebapps
folder of your Tomcat installation - Start the Tomcat server
- Clone the project
- Import the project in your IDE
- Run the project
- Spring
- Spring Security
- JSF
- Primefaces
This project is licensed under the MIT License - see the LICENSE.md file for details