This project was generated with Angular CLI version 11.0.2.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
-
index show products list
"/" redirect to "/products" -
show
/products/:id
- login
"/login" - register
"/register" Guard route - admin Guard routes
"/admin"
'/admin/products/create'
'/adminproduct/:id'
admin@example.com
password