Click here to go to the application.
- Clone repository
git clone https://github.com/arturguimaraes/food-order-app-redux.git
- Go to directory
cd food-order-app-redux
- Install required libraries
npm i
- Start project on http://localhost:3000/
npm start
This is a ReactJS, Redux, Typescript and Sass project. This simulates a food ordering app, with cart items control for a basic e-commerce shop.
The project uses ReactJS, Redux, Typescript and Sass. It explores concepts of:
- Redux (Hooks, Store, Actions, Slice, State, Dispatch)
- useState, useEffect
- Interface
- Event handlers
- Sass modules
- Spread operators
The Food Order App Redux includes the following features:
- Cart control for adding correctly amounts if item is already in cart.
- If item not in cart, add to it normally.
- Item removal in case of subtracting less than 1 amount, or subtracts amount.
- Empty cart feature.
- All features above are controlled via Redux dispatch actions.
Contributions to this project are welcome! If you'd like to contribute, please follow these steps:
- Fork this repository.
- Create a new branch for your feature or bugfix.
- Make changes and commit them.
- Push your branch to your fork.
- Create a pull request.
Please ensure that your code adheres to the project's coding standards and that any new features are thoroughly tested.