The application is encapsulated to be used with docker-compose so it is necessary to have the latest version of Docker installed, as well as Node.js to ensure that the deployments are done correctly.
What things you need to install the software and how to install them
openjdk version "1.8.0_312"
docker version "latest"
> ./gradlew build
> docker-compose up --build
> docker-compose up --build
> docker-compose down <- down docker compose `
curl -s -X POST \
http://localhost:8080/signup \
-H 'Content-Type: application/json' \
-d '{"email":"test@test.com", "username":"test", "password": "1234"}'
curl -s -X POST \
http://localhost:8080/login \
-H 'Content-Type: application/json' \
-d '{"username":"test", "password": "1234"}'
curl -s -X GET \
http://localhost:8080/discover/movies
curl -s -X GET \
http://localhost:8080/movies/{movieId}
curl -s -X GET \
http://localhost:8080/movies/{movieId}/cast
curl -s -X GET \
http://localhost:8080/cast/{castId}
curl -s -X POST \
http://localhost:8080/favorites/{movieId} \
-H 'Content-Type: application/json'
curl -s -X GET \
http://localhost:8080/favorites
To test the api you can use this link http://localhost:8080 or the POSTMAN collection including in this repo.
The API is currently deployed at vultr.com you can try it at this link http://108.61.119.125:8080
In advance I appreciate the interest in my profile, I hope to meet the expectations of the position.
- Daniel Rodriguez - Deaniell61