It should have the following screens:
- Product Create/Edit
- Product List
- Name (required)
- SKU (alphanumeric, required)
- Description (optional)
- Brand (optional)
- Image URL (optional)
- Contains a form for adding new products or updating existing products.
- Form has validation for required fields.
- Upon submit, navigates to the Product List Screen.
- Lists known Product with columns Name/SKU/Description/Brand
- Description is truncated if longer than 40 characters
- Supports the following navigation & actions:
- When selected by clicking, reveals a summary of the Product (including its image) in an adjacent pane to the right of the Product list
- Add New Product (links to Product Create/Edit Screen)
- Shows Product fields (read-only)
- Supports the following navigation and actions:
- Link to Product List
- Delete this Product
- Edit this Product
A Product has the following attributes:
Product Create/Edit Screen
Product List Screen
Product Operations supported
Run the following command
ng serve