This API offers CRUD operations on 2 endpoints: /movies && /comments. It uses omdb to fullfil the movie information.
- ES6 support via babel
- Body Parsing via body-parser
- DB connection via mongoose
- Tests with Chai
To run the project clone and install the repository. You will have to set up and connect your working MongoDB instance and get api key for http://www.omdbapi.com/. Store your database password (variable MONGO - required on production) and omdbapi key (variable OMDB - required on dev and prod) in .env file.
Start the development project with
npm run dev
Then run tests with
npm run test
This application runs on Heroku server. The endpoints:
- Movies: https://man-movies-api.herokuapp.com/movies
- Comments: https://man-movies-api.herokuapp.com/comments
- Jakub Mandra
This project is licensed under the MIT License.