{"id":18614786,"url":"https://github.com/andrewjbateman/angular-ngrx-tutorial","last_synced_at":"2026-04-17T12:33:05.016Z","repository":{"id":38081983,"uuid":"162590578","full_name":"AndrewJBateman/angular-ngrx-tutorial","owner":"AndrewJBateman","description":":clipboard: App that allows users to submit the name and url of a tutorial using a simple form and also to remove a tutorial, by using Ngrx/store, RxJS-powered state management.","archived":false,"fork":false,"pushed_at":"2023-09-10T21:24:38.000Z","size":1707,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T01:12:34.013Z","etag":null,"topics":["angular","angular-cli","angular-ngrx-tutorial","angular16","ngrx","ngrx-store","reducer","state-management","tutorial-code","typescript4"],"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/AndrewJBateman.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":"2018-12-20T14:30:47.000Z","updated_at":"2023-09-10T21:25:53.000Z","dependencies_parsed_at":"2024-11-07T03:40:53.687Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/angular-ngrx-tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-ngrx-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-ngrx-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-ngrx-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-ngrx-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-ngrx-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-ngrx-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-ngrx-tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31929696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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","angular-cli","angular-ngrx-tutorial","angular16","ngrx","ngrx-store","reducer","state-management","tutorial-code","typescript4"],"created_at":"2024-11-07T03:26:59.186Z","updated_at":"2026-04-17T12:33:04.980Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Angular Ngrx Tutorial\n\n* App that allows users to submit the name and url of a tutorial using a simple form and also to remove a tutorial, by using [ngrx/store](https://ngrx.io/), RxJS-powered state management.\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/angular-ngrx-tutorial?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-ngrx-tutorial?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-ngrx-tutorial?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-ngrx-tutorial?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular Ngrx Tutorial](#zap-angular-ngrx-tutorial)\n  * [:page\\_facing\\_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal\\_strength: Technologies](#signal_strength-technologies)\n  * [:floppy\\_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \\\u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file\\_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* This app uses Ngrx Store, a RxJS-powered state management solution, to organise the app`s state. NgRX was built for Angular. NgRX is overkill for such a simple app but this is for learning purposes only.\n\n## :camera: Screenshots\n\n![Example screenshot](./img/write-and-read-components.png).\n\n## :signal_strength: Technologies\n\n* [Angular v16](https://angular.io/)\n* [RxJS Library v7](https://angular.io/guide/rx-library) used to handle datastreams and propagation of change using observables.\n* [ngrx/store v16](https://ngrx.io/guide/store)\n\n## :floppy_disk: Setup\n\n* Run `ng serve` for a dev server.\n* Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## :computer: Code Examples\n\n* _tutorial.reducer.ts_ file\n\n```typescript\nimport { Action } from '@ngrx/store';\nimport { Tutorial } from './../models/tutorial.model';\nimport * as TutorialActions from './../actions/tutorial.actions';\n\nconst initialState: Tutorial = {\n  name: 'Initial Tutorial',\n  url: 'http://google.com'\n};\n\nexport function reducer(state: Tutorial[] = [initialState], action: TutorialActions.Actions) {\n\n  switch (action.type) {\n    case TutorialActions.ADD_TUTORIAL:\n      return [...state, action.payload]; // use spread operator to add action.payload to the array\n\n    case TutorialActions.REMOVE_TUTORIAL:\n      const currentState = [...state];\n      currentState.splice(action.payload, 1); // use splice to remove selected item\n      return currentState;\n\n    default:\n      return state;\n  }\n}\n```\n\n## :cool: Features\n\n* Adds titles of courses and weblinks to a list array using NgRX for state management.\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working.\n* To-Do: Nothing\n\n## :clap: Inspiration\n\n* [Article by Richard Oliver Bray](https://medium.com/@richbray): [A Beginner’s Guide to Ngrx/store](https://medium.com/stratajet-tech/a-beginners-guide-to-ngrx-store-bc2184d6d7f0).\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: `gomezbateman@yahoo´.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-ngrx-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-ngrx-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-ngrx-tutorial/lists"}