Project description
- https://github.com/teamName/repo
- https://github.com/teamName/repo
- https://github.com/teamName/repo
- https://github.com/teamName/repo
Some usage instructions
An nvmrc
file is included if using nvm.
- Node 6.13.0
- etc
From within the root directory:
npm install -g webpack
npm install
GET /restaurants/:id/googleReviews
This route expects an integer id from req.params.id.
Successful requests will return an array of five objects with the following structure: { "review_id": INTEGER, "reviewer": STRING, "date_posted": STRING, "rating": DECIMAL, "picture": URL, "text_review": STRING, "restaurant_id": INTEGER }
POST /restaurants/:id/googleReviews
This route expects an object with following structure: { "date_posted": STRING, "rating": DECIMAL, "text_review": STRING, "restaurant_id": INTEGER "user_id": STRING, }
DELETE /reviews/:id/gooleReviews
This route expects an integer id from req.params.id.
PATCH /reviews/:id/gooleReviews
This route expects an integer id from req.params.id And an object with any key-value pairs inside following structure: { "rating": DECIMAL, "text_review": STRING, } and always has a key-value pair: { "date_posted": STRING, }