Bamazon is an Amazon-like storefront created using Node.js and MySQL.
It is a command line app.
The app will take in orders from customers and deplete stock from the store’s inventory.
There are two files bamazon_customer.js and bamazon_manager.js which have a customer and manager view respectively.
Make sure you have Node.js and MySql installed on your computer.
After cloning/downloading this app’s repository, go to your terminal and navigate to the folder of this app and run npm init -y to download the package.json file.
Then, you’ll need to install the following packages in the same folder. Without installing these packages, the app won’t work on your computer.
npm i mysqlnpm i inquirernpm i cli-table2node bamazon_customer.jsThis command will output the following:

If sufficient quantity in stock then the following is shown:

If insufficient quantity in stock then the following is shown:


node bamazon_manager.jsThis command will output the following:

View Products For Sale

View Low Inventory

Add to Inventory

Add New Product
