Skip to content

Gaddy-Morty/Reviews

Repository files navigation

reviews

How to start this component?

  1. npm install
  2. run 'mysql -u root -p < database/schema.sql' command in the terminal to create database and table
  3. npm run seed-database
  4. npm run react-dev
  5. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published