{"id":22965693,"url":"https://github.com/lb1997ccb/ng-ngrx-rest-example","last_synced_at":"2026-05-01T15:31:14.914Z","repository":{"id":245916767,"uuid":"816271109","full_name":"lb1997ccb/ng-ngrx-rest-example","owner":"lb1997ccb","description":"This Angular 17 project showcases the integration of NgRx for state management and caching of API data. It connects to the Solar System OpenData API to fetch information about planets and uses NgRx to manage the state of the retrieved data. ","archived":false,"fork":false,"pushed_at":"2024-06-26T10:18:31.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T04:29:39.370Z","etag":null,"topics":["angular","ngrx-effects","ngrx-example","ngrx-store"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lb1997ccb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-06-17T11:57:38.000Z","updated_at":"2024-06-26T10:18:34.000Z","dependencies_parsed_at":"2024-06-26T11:46:02.442Z","dependency_job_id":"ca0d4f5c-a7d9-40e2-b877-500555db2a27","html_url":"https://github.com/lb1997ccb/ng-ngrx-rest-example","commit_stats":null,"previous_names":["lb1997ccb/angular-planets-ngrx","lb1997ccb/ng-ngrx-rest-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lb1997ccb/ng-ngrx-rest-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lb1997ccb%2Fng-ngrx-rest-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lb1997ccb%2Fng-ngrx-rest-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lb1997ccb%2Fng-ngrx-rest-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lb1997ccb%2Fng-ngrx-rest-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lb1997ccb","download_url":"https://codeload.github.com/lb1997ccb/ng-ngrx-rest-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lb1997ccb%2Fng-ngrx-rest-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32502923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","ngrx-effects","ngrx-example","ngrx-store"],"created_at":"2024-12-14T20:16:10.374Z","updated_at":"2026-05-01T15:31:14.892Z","avatar_url":"https://github.com/lb1997ccb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Planets App\n\nThis project demonstrates the use of Angular with NgRx for managing state, specifically for fetching and displaying data from an external API.\n\n## Functionality\n\n### Planet Service (`PlanetService`)\n\nThe `PlanetService` retrieves data about planets from an external API using Angular's `HttpClient`.\n\n### NgRx Effects (`PlanetEffects`)\n\n`PlanetEffects` implements NgRx effects to handle asynchronous actions related to planets, such as loading and error handling.\n\n### NgRx Selectors\n\n- `selectAllPlanets`: Selects the array of planets from the NgRx store.\n- `selectPlanetsLoading`: Selects the loading state indicating whether planets are being fetched.\n- `selectPlanetsError`: Selects any error that occurs while fetching planets.\n\n## Installation\n1. Clone this repository.\n2. Install dependencies using `npm install`.\n3. Run the application using `ng serve`.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flb1997ccb%2Fng-ngrx-rest-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flb1997ccb%2Fng-ngrx-rest-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flb1997ccb%2Fng-ngrx-rest-example/lists"}