/student-feedback

Reviews module for Udemy

Primary LanguageJavaScript

Project Name

The "reviews" module for the Udemy course page.

Additional Routes

Route/Endpoint Description Method
/:courseId/reviews/ get all reviews for a specific course GET
/:courseId/reviews/:reviewId get a single review for a course GET
/:courseId/reviews/ add a new review to a specific course POST
/:courseId/reviews/:reviewId edit a review for a specific course PUT
/:courseId/reviews/:reviewId delete a review for a specific course DELETE

Stretch Goals:

Route/Endpoint Description Method
/users/:userId/reviews get all of a user's reviews GET

Related Projects

Usage

To run:

  • run schema.sql to create SQL database (mysql -u [username] -p [password])
  • npm run seed to seed database
  • npm start to start server
  • hosted on localhost:3001
  • run npm run react to compile webapp

Installing Dependencies

From within the root directory:

npm install