Food Order App Redux
Installation
git clone repo
food-order-app-redux
npm i
npm start
Introduction
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.
Implementation
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
Features
- Cart control for adding correctly amounts if item is already in cart.
- If item not in cart, add to it normaly.
- Item removal in case of subtracting less then 1 amount, or subtracts amount.
- Empty cart feature.
- All features above are controlled via Redux dispatch actions.