This is a repo I make to learn how to design RESTful API with NodeJS, Express, Mongoose and MongoDB.
Requirements: Node, NPM, MongoDB
Sync package.json:
npm install
Import data:
npm run import-data
Start server
npm start
GET /api/v1/movies/ (Get all movies)
POST /api/v1/movies/ (Add new movie)
GET /api/v1/movies/{id} (Get one movie)
PATCH /api/v1/movies/{id} (Update one movie)
DELETE /api/v1/movies/{id} (Delete one movie)