A real estate website to search add, update, deltet apartments.
-
Java
-
Apache
-
Postgres
-
Clone or download the project
-
Open the Postgres Server
-
Run the SQL script
-
Open the Apache Server (will be running when run the project if it is set up successfuly)
-
Run the project on the server
Deploy Website: https://pacific-anchorage-97765.herokuapp.com/
In order to test the project via deploy website, please follow the instruction in the following text:
UserName and Password:
User: u1, 123;
Administrator: a1, 123
- Input the username and the password (u1, 123) and click Log In
- The main page will be shown and the username can be seen in the navigation bar.
- Choose your favorite apartment and input your favorite inspection time and click Book.
- The cart page will be shown and all your inspection orders can be found.
- Change one of the orders inspection time and click update button. Then the inspection time will be updated.
- If you want to delete one order, click delete button.
- If you want to return to main page, click back button.
- Click the username in the navigation bar can also go to the cart page.
- If the browser has not browse the website, an information (Hello new User) will be shown on the website.
- If a user has been logged in to the system and then logged out, an information (Welcome back USERNAME) will be shown on the website.
- Click a register button
- Input your first name, last name, username and password
- A new user has been created and can be used to log in.
- Click the administration Log In button
- Input username and password (a1, 123) to log in as an administrator
- Log in as an administrator.
- Click Add Apartment button on the navigation bar to add a new apartment.
- Input all required information and click confirm button
- A newly apartment can be seen in the main page.
- Log in as an administrator.
- Choose an apartment and click update button.
- All information that related to this apartment will be shown.
- Change a little bit information and click confirm button.
- The information of the apartment has been updated.
- Log in as an administrator.
- Choose an apartment and click delete button.
- The information of this apartment will be deleted.