bamazon is a CLI that simulates sales for an online store. It contains 3 programs which interact with the same database:
- Customer
- Can buy products from the store
- Manager
- View Products for Sale
- View Low Inventory (Item less then 20)
- Add to Inventory
- Add New Product
- Supervisor
- Can buy products from the store
- Can buy products from the store
- ES6
- Node.js
- MySQL
In order for Bamazon to run you will need the following:
- Bash
- Node.js & npm (npm is a native package of Node.js)
- MySQL Workbench
- Open bash and type
git clone https://github.com/RealTayy/bamazon.git
to pull bamazon off gitHub
- Then type
cd bamazon/; npm i
to go into the bamazon folder and install the required npm packages
- Open MySQL Workbench and connect to
localhost:3306
. After that openbamazonSchema.sql
and run it. Once the schema has been loaded openbamazonSeed.sql
and run that to finish loading the initial database/table/entires
Congratulations! You have successfully installed bamazon
- Manager
- View Products for Sale
- View Low Inventory (Item less then 20)
- Add to Inventory
- Add New Product
- Supervisor
- View Department Sales
- Add a New Department