An Amazon-like CLI project for class. View and "purchase" products as a customer, or view update inventory as a manger.
- MySQL
- Node
- mysql
- inquirer
- dotenv
- Clone or download the repository. Run
npm installto get load the required dependencies. - Run the SQL commands included in the store-setup.sql file to generate a MySQL database.
- Create a .env file in the root of the directory, and add
DB_PASSWORD=[your MySQL password]. - In your CLI, run
node bamazonCustomerto view the customer interface. - Or, run
node bamazonManagerto view the manager interface.
Customer start

Customer purchase success

Customer purchase fail

Customer exit

Manager start

Manager view products

Manager view low inventory

Manger add inventory

Manager add product

Manager view products (with updates)

Manager exit
