Project use nx for project structure, ngrx as store manager and ng-zorro as ui library
npm install
npm start
Project uses nx structure with following modules
packages
pokemon-shop
- main applicationshared
- contains chared modelspokemons
- ui for pokemons featurecart
- ui for cart featurestore/cart
- ngrx store with models and data access layerstore/pokemons
- ngrx store with models
For bigger project I would use the following structure (which requires more slicing)
packages
pokemon-shop
- main applicationshared
models
- contains chared models
pokemons
- pokemons featuremodels
- feature modelsui
- feature ui componentsstore
- feature storedata-access
- feature data access layer
cart
- ui for cart featuremodels
- feature modelsui
- feature ui componentsstore
- feature storedata-access
- feature data access layer