Skip to content

ozhilin/comp421-p3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMP 421: Apartment Rental Service

  • Dang Khoa Do - 260584925
  • Yordan Neshev - 260587938
  • Cecile Robert-Michon - 260552816
  • Oleg Zhilin - 260581713

Instructions

Installation

To test the program, the database needs to have the correct schema. The scripts in the schema folder will set up everything correctly. Note that this schema does not contain the changes from the other problems in this assignment. There are no major additions other than a few minor fixes (primary key of bookings is now serial).

It was chosen to keep all SQL outside of the actual java code. The sql commands required for the execution of the application are located in the res folder. The contents of this folder need to be copied inside of the bin folder. Upon execution, the bin folder should look like the following:

  • ApartmentRental.class
  • bookings/
  • db/
  • reviews/
  • users/
  • address/
  • creditCard/
  • lodgings/
  • ui/

Execution

Database user name and password are provided as command line arguments. The application can be run from the command line using the following command:

java -cp ./lib/postgresql-9.4.1208.jre7.jar:./bin ApartmentRental username password

Note that this needs to be executed from the folder containing the bin and lib folders, in order for the class paths to work.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors