Skip to content

andressamorschel/MovieSuggestionAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MovieSuggestion API

It is an API developed with the purpose of recommending movies according to the temperature informed by the user!

Prerequisites to run the application:

  • Java v17
  • Gradle v7.4.1

Step by step to run the application:

  • Clone the repository
$ git clone https://github.com/andressamorschel/MovieSuggestion.git
  • In the root directory, run:
$ gradle bootrun

Consuming the API

  • 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

About

This API is a challenge from Sensedia

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages