How to start this component?
- npm install
- run 'mysql -u root -p < database/schema.sql' command in the terminal to create database and table
- npm run seed-database
- npm run react-dev
- npm run start
CRUD API
GET /property/:property_id/reviews -get all reviews for specified listing
POST /property/:property_id/reviews -insert new review for specified listing
DELETE /property/:property_id/reviews/:id -delete specific review at specified listing
PUT /property/:property_id/reviews/:id -update a specific review at specified listing