An open API service indexing awesome lists of open source software.

https://github.com/kooltheba/shopping-cart-react

πŸ›’ Shopping cart made with React, testing and Material-UI πŸ’₯
https://github.com/kooltheba/shopping-cart-react

enzyme jest material-ui oop prop-types react testing

Last synced: 26 days ago
JSON representation

πŸ›’ Shopping cart made with React, testing and Material-UI πŸ’₯

Awesome Lists containing this project

README

        

# react-shopping-cart
πŸ›’ Shopping cart made with React, testing and Material-UI πŸ’₯




woman-coding

> πŸ’ƒ Extra stuff: see the shopping cart with a data persistance implementation thanks to the home-baked 🧁 localstorage api [todos-goals-api-localstorage](https://www.npmjs.com/package/todos-goals-api-localstorage)

```sh
git checkout feat/add_localstorage
```

# Up and Running!

1. **Clone this repository.**

```sh
git clone https://github.com/KoolTheba/shopping-cart-react.git
```

2. **Start developing.**

Navigate into your new site’s directory, install dependencies and start it up:

```sh
cd react-shopping-cart-app/
npm install
npm run start
```

3. **Running!**

Your site is now running at `http://localhost:3000` πŸš€

# Dependencies
- React
- Material UI
- Jest/Enzyme for testing
- My awesome πŸ‘‰ [todos-goals-api-localstorage](https://www.npmjs.com/package/todos-goals-api-localstorage)

# Scripts

In the project directory, you can run:

#### `npm start`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

#### `npm test`

Launches the test runner in the interactive watch mode.

# What's next
For the next or upcoming releases:
- Add Payment/Button component
- Stock handling/feature
- Effects for improving user experience
- Code Refactor, dependencies vulnerabilities, improve responsiveness and styling....anything that can be make it prettier and cooler! πŸ’