THE COMPLETE REVIEWS ENDPOINT, AND THEN SOME ….
Kitenge Api has a new home http://www.kiteng3.com/. Below are endpoints for the newly created reviews route.
CHECKOUT PREVIOUS ARTICLES:
REVIEWS — Users will be able to review a kiosk.
- GET ALL REVIEWS — fetch all reviews from the DB.
- POST REVIEW — add reviews to a kiosk.
- GET SINGLE REVIEW — get a single review.
- UPDATE REVIEW — update a review.
- DELETE REVIEW — delete a review.
Another logic I have implemented enables the Get All Kiosks route to return a kiosk with the items and reviews under it. It also returns the average rating of a kiosk from the two users that have rated the kiosk. I'm loving this endpoint.
The next step is to create the CART logic. If you have other ideas/suggestions/corrections/criticisms that will guide me in building this project, PLEASE feel free to DM me on twitter or comment below.
Github: https://github.com/ma-za-kpe/Kitenge-Backend
Website: http://www.kiteng3.com/