Skip to content

A study program to explore making web applications using Java by creating a rental-tracking software for a mock rental agency.

License

Notifications You must be signed in to change notification settings

e10e3/rentmanager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rent Manager

A study program to explore making web applications using Java by creating a rental-tracking software for a mock rental agency.

rentmanager.png

Use

This project uses Maven as a build system and Tomcat as a web server.

To install the dependencies and build the project:

mvn clean install

Before anything else, execute the class com.epf.rentmanager.FillDatabase at least once:

mvn exec:java -Dexec.mainClass="com.epf.rentmanager.persistence.FillDatabase"

To start the web app:

mvn tomcat7:run

The site is available on http://localhost:8080/rentmanager.

Architecture

Dependencies

This project was build using Java 17.

Potential improvements

Some changes could be made to make the project even better, but are not necessary for its working. Some of them are:

  • use optional objects for methods that could return nothing, like findById(),
  • add more links to navigate between pages in the web UI, allowing to view the booked vehicle from a reservation,
  • simplify the reservation validation in order to not use an intermediary class.

License

This project is licenced under the Mozilla Public Licence 2.0.

Acknowledgements

This project was part of a scholar assignment. The initial codebase (commits ff425669bfb596f419192d1d7b695165ab42d512 and e7c5bd9db99c7cc051c916ae8cc86580cd9f602f) is not mine.

About

A study program to explore making web applications using Java by creating a rental-tracking software for a mock rental agency.

Topics

Resources

License

Stars

Watchers

Forks