Skip to content

Latest commit

 

History

History
62 lines (35 loc) · 1.85 KB

README.md

File metadata and controls

62 lines (35 loc) · 1.85 KB

Review Module

This project was to replacing an existing application’s backend with more powerful database to handle heavy internet traffic request.

ec2 service Screen Shot 2019-03-21 at 4 59 12 PM

Related Projects

Table of Contents

  1. Setup
  2. Requirements

To Set Up & Run Locally

  • npm install
  • npm run watch to run webpack
  • npm server-dev to run server
  • npm run db-seed to seed the database for mongoDB(seeds data for 100 records)

Requirements

  • Node 10.15.3
  • postgresQL DB

Installing Dependencies

From within the root directory: npm install -g webpack npm install

Running Tests

  • npm test to run jest unit test suite for all components

Acknowledgements

  • Thanks to everyone on the Nike-Datase-It team for builing awesome modules!
Action Method Endpoint Purpose
Create POST /api/reviews Insert new review
Read GET /api/:shoeID/reviews Get review
Update PUT /api/reviews/:id Update one review
Delete DELETE /api/reviews/:id Delete an review