A demo and explanation of this application can be viewed at: link to Demonstration!
Bamazon is a backend application, utilizing node.js and a mysql server, to represent an online store.
This application has certain npm package dependencies in order to run. They are: mysql, inquirer, and console.table. Before running the application it is necessary to navigate to the folder containing all of the application files and run the following command in the terminal: npm install This will install all the packages and their necessary versions according to the package.json file.
Please be advised that console.table will not run on any version of node.js higher than version 6. Any version higher than 6 will result in application failure. v6.11.2 is the version used in the video demonstration
In order to run Bamazon the user will need to:
- Pull the files and navigate to the proper folder.
- Run the bamazonCustomer.js in the terminal with the command: node bamazonCustomer.js.
- View the product list table printed out in the terminal.
- Select the desired product by id number when prompted.
- Indicate the number of units desired when prompted.
- Repeat process until done buying.