This repository hosts a REST API based in Spring Boot that stores the movies trailers where users can comment and rate different movies.
- Java SDK Amazon Corretto 11.0.12
- Apache Maven 3.6.3
- Docker 20.10.8, build 3967b7d28e
- docker-compose 1.29.2, build 5becea4c
- Define environment variables renaming
.env-example
into.env
. - Rename the
sample.yml
file located in/main/resources
asapplication.yml
. - In order to build the application with its dependencies (run it just once):
./mvnw clean install
- In order to run the API:
./mvnw spring-boot:run
- In order to run the API in debug mode:
./mvnw spring-boot:run -X
Open http://localhost:8080/swagger-ui.html
to launch swagger webpage.