- /products: product list
- /products/:id: product details
- /cart: view cart
- /comfirmation: after submit order
- cart
- confirmation
- product-item
- product-item-details
- product-list
- Product:{id:number,name: string,price: number,url: string,description: string}
- OrderLine: {product: Product, quantity: number}
- ProductService: fetch product json data
- CartService: handle add/remove product in cart
- Run
npm install -g @angular/cli
- Run
npm i
- Run
ng serve --open