We are building a premier platform for finding out about and buying the latest fashion & beauty items. The core of will be the live selling shows hosted by content creators. During these shows, consumers will be able to buy the products shown in real-time. In turn, the content creators want to be able to talk live about how well the product is selling and how much is left in inventory. You can imagine them encouraging people to buy before the last few are sold.
Note
Kindly ensure the machine to be used in launching this project has NodeJS >= v14.6 and npm 8.1.0 already installed.
Stack Requirements
1. NodeJs 14.6 or >= and npm 8.1.0
2. Sqlite
//on local
git clone https://github.com/fabiagam/fashion-live
cd fashion-live
npm run build
1) Launch and test API endpoints on Postman (https://postman.co) or Thunder Client (https://www.thunderclient.io/)
Ensure you launch postman on your machine and enter the required endpoints for manual testing
`/POST http://127.0.0.1:6000/inventory/`
`/POST http://127.0.0.1:6000/show/:show_id/buy_item/:item_id`
`/GET http://127.0.0.1:6000/show/:show_id/sold_items/:item_id`
Kindly refer to /data/seed_run.js for sample data to use.
Here are test screenshotsand results obtained after Test-DrineApproach was put to use: