src/main/java/com/ibm_cic | ||
web | ||
LICENSE | ||
pom.xml | ||
README.md |
IBM CIC Coding Challenge - REST API
-
Prerequisites
- Apache Tomcat
- Maven
-
Used Libraries and Frameworks
- Jersey RESTful Web Services Framework (https://jersey.github.io/)
- JSON in Java (https://github.com/stleary/JSON-java)
- Apache Commons IO (https://commons.apache.org/proper/commons-io/)
-
Running the project
- Import the project in IntelliJ IDEA (preferred) or Eclipse
- Download the dependencies with Maven
- Start Apache Tomcat
-
Using the API
- After starting Apache Tomcat point your browser of choice to
http://localhost:8080/rest
- You can filter your request by adding the filter parameter as follows:
http://localhost:8080/rest?filter=<title_or_location>
- Port
8080
is the default one, you can set anything you'd like here - You can also access it online (https://ibm-cic.herokuapp.com/rest)
- After starting Apache Tomcat point your browser of choice to