/slamazon

An imaginary store-front using MySQL, slamming deals all day long.

Primary LanguageJavaScriptMIT LicenseMIT

Welcome to Slamazon!

Where we slam you with deals all day long!

Slamazon is a fictional store-front created using Node.js and SQL and run in your very own command line.

When you run slamazonCustomer.js, you'll see a table with all of Slamazon's great deals. Simply select the product you wish to purchase, and input the desired quantity. If the item is in stock, Slamazon will display the total purchase price.

Slamazon Customer Demo

Getting Started

  1. Ensure that you have MySQL installed on your computer, along with your favorite MySQL client, such as MySQL Workbench or Sequel Pro.
  2. Download or git clone this repo.
  3. Run the code found in slamazon.sql in your MySQL client to populate the database.
  4. Enter your MySQL password in the slamazonCustomer.js as indicated here: MySQL Password

Running the program

Navigate to the slamazon folder in your Terminal or GitBash window and run the following:

npm i 
node slamazonCustomer.js