This api is for managing personal movie ratings for the React Native project GreenScreenings. It leverages the OMDB API for movie data and adds an personalized rating system.
Currently hosted on a Heroku free dyno, so responses may be slower than expected.
-
/api/movies
- GET
- searches movies in the OMDB
- expects:
- query param: 'title`
- GET
-
/api/movies/:imdbid
- GET
- retrievs info for a given movie
- GET
-
/api/ratings
- GET
- retrieves all movies that have been rated
- PUT
- adds a movie to your ratings
- expects:
- JSON: movie object to be added
- GET
-
/api/ratings/tags
- GET
- returns an array of all tags used across ratings
- GET
-
/api/ratings/years
- GET
- returns an array of all release years from rated movies
- GET
-
/api/ratings/:id
- DELETE
- removes a rating from the collection
- DELETE