This site was created to practice using React to make single-page sites that use local and shared state to be dynamic.
- React
- Redux
- JSX
- JavaScript
- Markdown
- Git
Build a website for selling merchandise for a band, author, sports team, or any other purveyor that interests you.
A user should be able to do the following:
- Create, Read, Update and Delete items in the store. Items should have fields for
name
,description
, andquantity
(along with any other fields you wish to add). - Increase or decrease the
quantity
of an item in the store. For instance, if a user clicks "Buy", thequantity
will decrease by one. If a user clicks "Restock", it will increment by a specified number. - When the
quantity
of an item is reduced to0
, the item should say "Out of Stock". A user should not be able to reduce thequantity
of an item below0
.
Click here to view the live webpage of this canna site
- Clone this repository to your desktop
- Navigate to the top level of this directory in your computer’s terminal
- Run the code
npm install
in your terminal to install the necessary packages and plug-ins - Run the code
npm run start
in your terminal to start the application in development mode and open the project in your web browser
- WIP: add buying & restocking features
- forms do not disappear unless site is refreshed or they're filled out - add cancel button or hide forms when clicking on other links
- Create a
Cart
component. When a user clicks "Buy", the specified item should be added to the cart. - A user should be able to view and remove items from the cart.
- Create a widget that shows the number of items in the cart. This widget should be updated when items are added to the cart.
MIT License
Copyright (c) 2023 Luckie
This project was bootstrapped with Create React App.