This folder contains a SpringBoot application for searching and retrieving movie information from TMDB.
In order to run the application locally you will need an access token from TMDB, see more here.
When you have your access token simply run the following
TMDB_ACCESS_TOKEN=<your-token> ./gradlew bootRun
- Movie application will be available at
localhost:8080
In case you want to run the application pointing to WireMock service instead you need to run WireMock via docker compose file and then use the mock
profile when running the application.
# From root repository folder
docker compose up -d --build
cd MovieApp
SPRING_PFOILES_ACTIVE=mock ./gradlew bootRun
- WireMock will be available at
localhost:8090
- Movie application will be available at
localhost:8080
GET localhost:8080/movies?query=<query>
GET localhost:8080/movies/<movie-id>
GET localhost:8090/__admin/mappings
GET localhost:8090/__admin/requests