{"id":29179845,"url":"https://github.com/danielzotti/angular-ngrx-scaffold","last_synced_at":"2026-05-03T12:33:49.045Z","repository":{"id":93123322,"uuid":"161203515","full_name":"danielzotti/angular-ngrx-scaffold","owner":"danielzotti","description":"Scaffold di un'applicazione con Angular e NgRx utilizzando best practices imparate qua e là","archived":false,"fork":false,"pushed_at":"2019-05-04T14:00:37.000Z","size":156,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-19T09:40:05.774Z","etag":null,"topics":["angular","best-practices","ngrx","redux","scaffold"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielzotti.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-12-10T16:25:36.000Z","updated_at":"2023-05-14T12:34:39.000Z","dependencies_parsed_at":"2023-06-05T01:00:18.334Z","dependency_job_id":null,"html_url":"https://github.com/danielzotti/angular-ngrx-scaffold","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielzotti/angular-ngrx-scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzotti%2Fangular-ngrx-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzotti%2Fangular-ngrx-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzotti%2Fangular-ngrx-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzotti%2Fangular-ngrx-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielzotti","download_url":"https://codeload.github.com/danielzotti/angular-ngrx-scaffold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielzotti%2Fangular-ngrx-scaffold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32569712,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","best-practices","ngrx","redux","scaffold"],"created_at":"2025-07-01T19:07:10.248Z","updated_at":"2026-05-03T12:33:49.034Z","avatar_url":"https://github.com/danielzotti.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-ngrx-scaffold\n\nScaffold di un'applicazione con Angular e NgRx.\n\nHo cercato di usare le best practices che ho assimilato studiando Redux (NgRx).\n\nQuesto progetto è pensato solamente per NgRx/Redux in Angular; NON ho usato best practices per quanto riguarda UX, UI, Angular, HTML o CSS.\n\n## Esempio\n\nPer far partire l'applicazione Angular di esempio _(con dati json di test)_ basta digitare in sequenza:\n\n- `npm install`\n- `npm run start`\n\n**Requisito**: Angular CLI (`npm install -g @angular/cli`)\n\n## Struttura del progetto\n\n- src/app\n  - components\n    - entity\n      - create\n      - edit\n      - select-list\n    - entity2\n      - ...\n  - facades\n    - entity.facade.ts\n    - entity2.facade.ts\n  - services\n    - entity.service.ts\n    - entity2.service.ts\n  - store\n    - entity\n      - entity.actions.ts\n      - entity.adapter.ts\n      - entity.effects.ts\n      - entity.reducers.ts\n      - entity.selectors.ts\n      - entity.state.ts\n    - entity 2\n      - ...\n    - effects.ts\n    - reducers.ts\n    - state.ts\n\n## Snippets\n\nPer creare alcuni file, soprattutto per quanto riguarda NgRx, ho usato degli snippets che si possono trovare mio progetto GitHub [ngrx-crud-snippets](https://github.com/danielzotti/ngrx-crud-snippets).\n\nI file sono questi:\n\n- store (NgRx)\n  - actions [`entity.actions.ts`](/src/app/store/entity/entity.actions.ts)\n  - adapter [`entity.adapter.ts`](/src/app/store/entity/entity.adapter.ts)\n  - effects [`entity.effects.ts`](/src/app/store/entity/entity.effects.ts)\n  - reducer [`entity.reducer.ts`](/src/app/store/entity/entity.reducer.ts)\n  - selector [`entity.selectors.ts`](/src/app/store/entity/entity.selectors.ts)\n  - state [`entity.state.ts`](/src/app/store/entity/entity.state.ts)\n- altri\n  - service [`entity.service.ts`](/src/app/services/entity.service.ts)\n  - facade [`entity.facade.ts`](/src/app/facades/entity.facade.ts)\n\n## Model dell'entità dello store\n\n```ts\n{\n    ids: string[] | number[];\n    entities: Dictionary\u003cIEntityStoreEntity\u003e;\n    isFetching: boolean;\n    editModel: any;\n    createModel: any;\n}\n```\n\n## To do\n\n- migliorare la documentazione\n- link a articoli e video da cui ho studiato e a cui mi sono ispirato\n\n## Feedback\n\nLavoro \"realmente\" con Redux da Agosto 2018 quindi i feedback sono apprezzatissimi!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielzotti%2Fangular-ngrx-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielzotti%2Fangular-ngrx-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielzotti%2Fangular-ngrx-scaffold/lists"}