This project was to replacing an existing application’s backend with more powerful database to handle heavy internet traffic request.
- https://github.com/Nike-Database-It/gora-main_photo_gallery.git
- https://github.com/Nike-Database-It/similar-products-carousel.git
- https://github.com/Nike-Database-It/shoe_name_and_colors.git
- https://github.com/Nike-Database-It/main_photo_gallery.git
- 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)
- Node 10.15.3
- postgresQL DB
From within the root directory: npm install -g webpack npm install
- npm test to run jest unit test suite for all components
- 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 |