This application...
- A user should be able to create, read, update, and delete items in the store.
- A user should be able to buy an item in the store, which reduces item quantity by 1.
- A user should be able to restock an item, which increases item quantity by a fixed amount.
- When the quantity of an item is 0, the item should say "out of stock". A user should not be able to reduce the quantity of an item below 0.
If Homebrew is not installed on your computer already, then install Homebrew by entering the following two commands in Terminal:
- $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- $ echo 'export PATH=/usr/local/bin:$PATH' >> ~/.bash_profile
Install Git with the following command:
- $ brew install git
Next, install Node.js by entering the following command in Terminal:
- $ brew install node
Please visit the Node.js website for installation instructions.
Clone this repository via Terminal using the following commands:
- $ cd desktop
- $ git clone {url to this repository}
- $ cd merch-site Then, confirm that you have navigated to the merch-site project directory by entering "pwd" in Terminal.
Next, install npm at the project's root directory via the following commands:
- $ npm install
- $ npm run build
Open the contents of the directory in a text editor or IDE of your choice (e.g., to open the contents of the directory in Visual Studio Code on macOS, enter the command "code ." in Terminal).
- Git
- JavaScript
- npm
- Webpack
- React
Copyright (c) 2020 Michelle Morin, Benjamin Thom, Brandan Sayarath