A simple shopping cart that lists items, builds a cart, and shows total cost.
This program lists products (both from hard coded database and from Strapi database) available, allows users to add/remove items from cart, and shows the total of the cart.
To view this program, all of the files into the same directory on your computer.
-
Navigate to the directory in your terminal and type the following commands:
npm install -- global http-server http-server -c-1 (forces the server to not cache)
-
Navigate to “localhost:8080” in browser
Note: to close server: type Ctrl+C in terminal
- Install Live Server extension
- Click "Go-Live" on blue bar at the bottom of VS Code
- React
- Strapi
- see StrapiInstructions.pdf
This project is licensed under the MIT License.