{"id":21307288,"url":"https://github.com/jdegand/ngrx-example","last_synced_at":"2025-06-22T06:38:51.971Z","repository":{"id":188805161,"uuid":"678955550","full_name":"jdegand/NgRx-example","owner":"jdegand","description":"NgRx Walkthrough tutorial upgraded","archived":false,"fork":false,"pushed_at":"2024-09-07T19:19:06.000Z","size":207,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T09:12:28.333Z","etag":null,"topics":["angular-16","ngrx","tests"],"latest_commit_sha":null,"homepage":"https://jdegand.github.io/NgRx-example/","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/jdegand.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2023-08-15T19:21:55.000Z","updated_at":"2024-09-07T19:19:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"e866e408-5c64-4447-a904-174095df4cae","html_url":"https://github.com/jdegand/NgRx-example","commit_stats":null,"previous_names":["jdegand/ngrx-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2FNgRx-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2FNgRx-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2FNgRx-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdegand%2FNgRx-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdegand","download_url":"https://codeload.github.com/jdegand/NgRx-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784103,"owners_count":20347409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-16","ngrx","tests"],"created_at":"2024-11-21T16:31:04.065Z","updated_at":"2025-03-15T19:48:58.547Z","avatar_url":"https://github.com/jdegand.png","language":"TypeScript","readme":"# NgRx Example\n\n[NgRx documentation walkthrough tutorial](https://ngrx.io/guide/store/walkthrough) reworked to use ngrx effects.  \n\n## Screenshots\n\n![](screenshots/Ng-Rx-example.png)\n\n## Link\n\n[Live Link](https://jdegand.github.io/NgRx-example)\n\n## Built With\n\n- [Angular](https://angular.io)\n- [Angular CLI](https://github.com/angular/angular-cli) version 16.0.1.\n- [NgRx](https://ngrx.io/docs)\n\n## Thoughts\n   \n- The main walkthrough tutorial takes a shortcut, and doesn't add effects, and just directly calls the service class in `app.component.ts`.\n- I removed the direct call to the service and added ngrx effects.  \n- My implementation could be improved.  An error action could be added for when the API request fails.    \n- I went through the testing documentation, and it is slightly outdated, as the walkthrough was changed to use `createActionGroup` versus defining and exporting each action individually. You have to replace the imports of `onAdd` and `onRemove` with an import of `BooksActions`.  Then you call `BooksActions.onAdd` in place of `onAdd`.      \n\n## Useful Resources\n\n- [Concrete Page](https://www.concretepage.com/ngrx/ngrx-effects-example#download) - ngrx effects \n- [Dev.to](https://dev.to/this-is-angular/ngrx-tips-i-needed-in-the-beginning-4hno#create-reusable-reducers) - create reusable reducers\n- [Dev.to](https://dev.to/ngrx/ngrx-action-group-creator-1deh) - action group creator\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fngrx-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdegand%2Fngrx-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdegand%2Fngrx-example/lists"}