Amazon like store front using MyQSL and Node.js
- Products - Used to store items in the store
- Shopping Cart - Used to store items in a users shopping cart
- Purchased - Used to store items that users have purchased
This program is a simulation of a storefront in a terminal environment.
When an item is chosen it is removed from the Products table and sent to the Shopping Cart table. Items in the shopping can be removed prior to closing out the transaction.
When the shopping is done the transaction can be completed. When the Checkout option is selected the items in the Shopping Cart table are removed from the Shopping Cart and then added to the Purchased table to keep a history on transactions.
Need to create a function to remove a selection from the shopping cart and add it back to inventory.
- departments
Table from NPM can be used to enhance the command line look.
- View products for sale
- View low inventory
- Add to inventory
- Add new products
- View product sales by Department
- Create new Departments