It is an API developed with the purpose of recommending movies according to the temperature informed by the user!
- Java v17
- Gradle v7.4.1
- Clone the repository
$ git clone https://github.com/andressamorschel/MovieSuggestion.git
- In the root directory, run:
$ gradle bootrun
- In your browser's search bar, type:
$ http://localhost:8080/documentation.html
- You will be taken to the Open API interface, now click on the endpoint GET/movies/{country}/{city}, and then, Try it out
-
Now, just enter the desired location and click execute
-
Example API response:
- You can also make the request directly through the browser, typing the uri below and filling in the fields between curly braces:
$ http://localhost:8080/movies/{country}/{city}
- Browser request example:
You can check the documentation here