Live Demo: https://e-shop-ke.vercel.app/dashboard
About In this project we have used Angular 15+ utilizing standalone architect together with NGRX to manage state. We have also used RXJS observables in order to receive data via httpClient.
- There are Product and Cart Components.
- The products can be added to the cart what either create new cart item or increment the quantity of existing one.
- The cart items can be removed.
- Total cost of cart items and the whole cart total are calculated upon undates in cart items.
- Offline cart (saving the state in the localStorage)
- Test coverage, inputs validation, error handlings
- Track how many product items are left on storage. Do not add the finished product.
- Use the components styled by material, bootstrap look.
- Anything else?
- Angular CLI
- NodeJs
- Package Manager - NPM / Yarn
- Clone the repository and run
npm install
if you use npm as package manager oryarn install
if you use yarn as package manager. - Run Angular developer server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
- Run the Server.
Run `json-server --watch database.json live-server` for a dev mock server. Navigate to `http://localhost:3000/`.
- Buy me a Beer https://www.buymeacoffee.com/johnkirathe
- Star my Github repo ⭐
- Create pull requests, submit bugs, suggest new features or documentation updates 🛠
- Author - John Kirathe
- Twitter - @kirathendegwa
- LinkedIn - john-kirathe-15a54570
eShopKE is MIT licensed.