A mock e-commerce page for buying and selling guitars.
A microservice detailing information about products and sellers.
Related Projects
https://github.com/HRR47-FEC-Burke/main-photo
https://github.com/HRR47-FEC-Burke/similar-listings-and-news
https://github.com/HRR47-FEC-Burke/seller-reviews
Table of Contents
Example URL: http://localhost:3210/item/1 Can input any number between 1 and 100 at the end of the url
Node.js v12.* https://nodejs.org/
MongoDB v3.6.0 https://www.mongodb.com/
Execute all of the following commands from the repository's root directory.
npm install
npm run seed
All requests made to '/sb/api/item/:id' Create: Post new item to the database. Request takes an object and a unused ID Read: Get information for a single product and seller Update: Update any product or seller information. Request takes an object and a valid ID Delete: Delete information about a single product and seller
npm run build-production
npm run server-dev