Bamazon, an Amazon-like storefront using MySQL, is a command-line application that takes orders from the user (customer) and reduces the storefront's stock when the user (customer) completes a purchase.
To use the Bamazon application, simply clone the repository, and then open your terminal application to the directory the cloned repository is located. To start the application, type node bamazonCustomer and then choose from the items (products) that are displayed. Once you've chosen an item (product) and pressed 'enter', the user (customer) will enter the number of units they would like to purchase. If there are enough units in stock, the user will be directed to the checkout and the total price of the item will be displayed. If there are not enough of the item (product) in stock, the user (customer) will be informed, 'not enough in stock, please choose another amount' and will be redirected back to the item (product) list. Navigate to Bamazon Sample Output to see some output examples. Or for a screen capture of the terminal, navigate to Bamazon Screen Capture.
User will need to have Node.js installed and install the NPM packages listed in installation.
User will need to install the following NPM packages:
- Inquirer - A collection of common interactive command line user interfaces.
- MySQL - Open source database.
- Craig Ossandon - LinkedIn
- Joe Han, Joshua Appel, Erin Rizal, & Jonathan Ho - Rutgers BCS Instructor and TA's
- All of the Rutgers BCS Classmates that help make everyday an amazing experience.