Simple API for tracking new movies with favorite actors. For movie and actor information using https://www.themoviedb.org/documentation/api
- Register new user - DONE
- Add favorite actor - DONE
- Remove favorite actor - DONE
- Mark movie watched - DONE
- Search unwatched movies with favorite actors - DONE
- Search by month and year unviewed movies with favorite actors - DONE
- Subscribe for notifying about release movies with favorite actors by email
- Describe and propose any feature that you think could be useful for movie fans on this simple API"
$ git clone https://github.com/romankh3/movietracking
$ cd movietracking
$ ./run.sh
run application and go to Swagger UI. http://localhost:8080/swagger-ui.html
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{ \ "email": "[email protected]", \ "firstName": "Roman", \ "lastName": "Kh3", \ "password": "yoBro" \ }' 'http://localhost:8080/user'
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/user'
curl -X POST --header 'Content-Type: application/json' --header 'Accept: /' -d '{ \ "actor_id": 287, \ "user_id": 0 \ }' 'http://localhost:8080/actor'
curl -X POST --header 'Content-Type: application/json' --header 'Accept: /' -d '{ \ "actor_id": 819, \ "user_id": 0 \ }' 'http://localhost:8080/actor'
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/movie/0'
curl -X POST --header 'Content-Type: application/json' --header 'Accept: /' -d '{ \ "movie_id": 550, \ "user_id": 0 \ }' 'http://localhost:8080/movie/watched'
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/movie/0'
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/movie/0/1999'
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/movie/0/1999/12'
curl -X POST --header 'Content-Type: application/json' --header 'Accept: /' -d '{ \ "movie_id": 500, \ "user_id": 0 \ }' 'http://localhost:8080/movie/unwatched'
curl -X DELETE http://localhost:8080/user/{user_id}