Develop Restful API with Express and MongoDB
Endpoints served on /api/v1/movieservice.
If you'd like to reach Swagger-Page, Please visit https://oraykt-shiny-memory.herokuapp.com/
Route | HTTP Verb | RESPONSE | Description |
---|---|---|---|
/movies | GET |
Array | List all movies with comments. |
/movies?imdbID=[imdbID] | POST |
Object | POST a new Movie into Application. |
Route | HTTP Verb | RESPONSE | Description |
---|---|---|---|
/comments | GET |
Array | List all comments with movies. |
/comments?imdbID=[imdbID]&comment=['comment'] | POST |
Object | POST a comment into Application |
It doesn't have private npm repo currently so we need to clone Shiny-Memory from git repo and install it locally via If you'd like to build it, you need to set production env in config!
git clone https://github.com/oraykt/shiny-memory.git && cd shiny-memory && npm install