- Setup JDK 16
sudo apt install openjdk-16-jdk
- Build and run tests
./gradlew clean build componentTest
./gradlew bootRun
- Request authorization
curl --request POST \
--url http://localhost:8080/login \
--header 'content-type: application/json' \
--data '{
"username": "postgres",
"password": "postgres"
}'
- Copy authorization header token in the previous step and use it in your request
curl --request GET \
--url http://localhost:8080/api/titles/The%20Seven%20Sisters \
--header 'authorization: {generated token}'
http://localhost:8080/swagger-ui.html
-
Fewer Hops http://localhost:8080/api/six-degrees/Lars Rudolph http://localhost:8080/api/six-degrees/Markus Waldow http://localhost:8080/api/six-degrees/Jennifer Lawrence
-
Medium Hops http://localhost:8080/api/six-degrees/Jeffrey DeMunn
-
More Hops ??
- Create exception handler;
- Create unit test for the package movie in the layer service;
- Translate the titles and format the path;