A command line interface for an example store.
- Javascript
- Node.js
- MySQL
- CLI Table
- Inquirer.js
Use the package manager npm to install npm package.
npm install
The dependencies are included in the package.json after this.
To run bamazonManager.js:
node bamazonManager
You will be given a list of choices:
If you select "View All Products", the database of products is presented:
To run bamazonCustomer.js:
node bamazonCustomer
You will be prompted to enter an ID for a product, and you can add it to your cart and update the stock of the product in the database.
For a complete rundown of features, you can watch the demo.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.