API My Games
$ cd mygames-backend
$ mvn package
$ docker-compose build --no-cache
$ docker-compose up -d
http://localhost:8000/swagger-ui.html
curl --user angular:12345 -X POST -H "Content-Type: application/x-www-form-urlencoded" -d 'username=admin@email.com&password=admin123&grant_type=password' "http://localhost:8000/oauth/token"
1.step
gamespagination='http://localhost:8000/api/restrict/games?page=0&size=3'
2.step
curl -H "Content-type: application/json" -H "Authorization: Bearer your_token" $gamespagination | jq '.'
curl -H "Content-type: application/json" -H "Authorization: Bearer your_token" http://localhost:8000/api/restrict/games/1 | jq
curl -H "Content-type: application/json" -H "Authorization: Bearer your_token" http://localhost:8000/api/restrict/games/2 | jq
curl -H "Content-type: application/json" -H "Authorization: Bearer your_token" http://localhost:8000/api/restrict/games/3 | jq
curl -H "Content-type: application/json" -H "Authorization: Bearer your_token" http://localhost:8000/api/restrict/games/4 | jq
...
...