This project was generated with Angular CLI version 7.3.7.
git clone https://github.com/dnlmx/shopping-cart
cd shopping-cart
Install the npm
packages described in the package.json
and verify that it works:
npm install
Install the jsn-server
package for backend fake data and verify that it works:
npm install -g json-server
json-server --watch db.json
NOTE: The path for the db.json file in the project is src/app/data/db.json
Run npm run start:proxy
for a dev server. The app will automatically reload if you change any of the source files.
json-server
is running at localhost:3000 serving all the required fake api’s, but the angular dev server also start a proxy for json-server at http://localhost:4200/api.
Navigate to http://localhost:4200/
.
You can also show the App in the demo version here:
https://shopping-cart.dnl.now.sh
- Ngrx support for store cart items.
- Responsive version.
- Full text search.
- Profile module for user data.
- All products list and product detail view.
Module | Version |
---|---|
angular/cdk | 7.3.7 |
angular/animations | 7.2.0 |
angular/material | 7.3.7 |
ngrx/router-store | 7.4.0 |
ngrx/store | 7.4.0 |
ngrx/store-devtools | 7.4.0 |
bootstrap | 4.3.1 |
bootstrap-material-design | 4.1.1 |
bootstrap-notify | 3.1.3 |
jquery | 3.4.1 |
rxjs | 6.3.3 |