- There are Product and Cart containers.
- The products can be added to the cart through the action "Add to cart".
- The cart items can be removed, Products will be added back to Container.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Angular 6+
Typescript 2.7+
Bootstrap 4.1.1
A step by step procedure to get a development env running
git clone https://github.com/kiranio/cuddly-octo-barnacle.git
Goto the directory cuddly-octo-barnacle
cd cuddly-octo-barnacle
Execute the below command to install the project
npm install
Explain how to run the automated tests for this system
ng test
Execute the below command to run the project
ng serve
- [Typescript]
- [Angular]
- [NPM]
This project was generated with Angular CLI version 1.0.0-rc.0.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run "ng serve" to see the app in action.
Run ng test
to execute the unit tests via Karma.
- Offline cart (saving the state in the localStorage)
- Test coverage, inputs validation, error handlings
- Track how many product items, and total value in the cart etc.
- Use the components styled by material, bootstrap4 etc.
- Linting, stylecheckers etc.