Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.85 KB

README.md

File metadata and controls

49 lines (33 loc) · 1.85 KB

Pweb-Jsf-Project

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.

Installation

Prerequisites

  • Java 8
  • Maven
  • PostgreSQL
  • Tomcat 9.5
  • IDE (Eclipse, Netbeans, IntelliJ, etc.)

Database

  • Create a database named pweb in PostgreSQL
  • Create a user named pweb with password pweb and grant all privileges on the database pweb
  • Restore the database from the repository pweb-backend (file carRent2.backup)

Backend

  • 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 a pweb.war file in the target folder)
  • Copy the pweb.war file to the webapps folder of your Tomcat installation
  • Start the Tomcat server

Project

  • Clone the project
  • Import the project in your IDE
  • Run the project

Technologies

  • Spring
  • Spring Security
  • JSF
  • Primefaces

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details