A node command line interface which a customer can buy books in the current inventory. A customer can see current inventory, price for each book, and current quantity. A total is displayed total and the current inventory is adjusted.
How To Use
To run the CLI Bookstore you must run the program customer.js in the command line of node. You will be shown the current inventory and current prices for each book. You then can add each item wanted to purchase to your cart. It will then ask if you would like to continue shopping or checkout.
Select help when prompted and the console will log information to inform or remind the user of acceptable arguments.
Install This Program
Clone this repository.
Create a .env file in this format with your API Keys instead of where it says API Key. Spotify requires an ID key and a secret Key.
Open up your folder container the Storefront files in the command line. 'CTRL + `
Type 'npm install'
And then your file should be good to go. You can now type your arguments in to the command line.