Skip to content

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 s…

License

Notifications You must be signed in to change notification settings

ptollinger/fashion-live

 
 

Repository files navigation

fashion-live

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.

Steps and Instructions

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

PART I: Download & Build on local

Step 1: From github

1) Clone the repository and run only one npm command

//on local
git clone https://github.com/fabiagam/fashion-live
cd fashion-live
npm run build

Step 2: Install REST client extension on vscode or install and launch Postman

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.

PART II: Process Flow Diagram and Screenshoots

Here are test screenshotsand results obtained after Test-DrineApproach was put to use:

inventory_post

unit_tes_part2

unit_test_part1

process-flow-1

About

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 s…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.9%
  • Shell 0.1%