A simple Java webapp that displays hotel information retrieved from an external REST API.
The assumption here is that you are using a Linus-based system.
- Make sure that you have JDK and Maven installed. You can go here for instructions to download and install JDK on a Linux-based system. You can ignore the part about installing Tomcat. This app uses embedded Tomcat so you will not need to explicitly install it.
To install maven simply type sudo apt-get install maven
in your terminal.
-
Clone this repository into a suitable directory on your local machine.
-
Type
cd AccommodationDeals
-
Type
mvn package
to build the project using maven. -
Then type
sh target/bin/webapp
to run the app. -
Now you are ready to see the app in action. Open a web browser and go to your localhost