{"id":18694274,"url":"https://github.com/9elements/angular-workshop","last_synced_at":"2025-07-18T11:05:38.471Z","repository":{"id":37285726,"uuid":"137937413","full_name":"9elements/angular-workshop","owner":"9elements","description":"Learning Angular: From component state to NgRx","archived":false,"fork":false,"pushed_at":"2023-05-01T18:09:10.000Z","size":5696,"stargazers_count":95,"open_issues_count":1,"forks_count":74,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-07-11T00:26:23.644Z","etag":null,"topics":["angular","beginner","cypress","ngrx","protractor","spectator","state-management","testing","tutorial"],"latest_commit_sha":null,"homepage":"https://9elements.github.io/angular-workshop/","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/9elements.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,"zenodo":null}},"created_at":"2018-06-19T19:40:15.000Z","updated_at":"2025-06-19T14:27:23.000Z","dependencies_parsed_at":"2025-04-12T06:54:35.283Z","dependency_job_id":"07f4fffe-9858-4342-88c0-d1ee2ef677ea","html_url":"https://github.com/9elements/angular-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/9elements/angular-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fangular-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fangular-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fangular-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fangular-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/9elements","download_url":"https://codeload.github.com/9elements/angular-workshop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/9elements%2Fangular-workshop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265746404,"owners_count":23821645,"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","beginner","cypress","ngrx","protractor","spectator","state-management","testing","tutorial"],"created_at":"2024-11-07T11:09:16.024Z","updated_at":"2025-07-18T11:05:38.428Z","avatar_url":"https://github.com/9elements.png","language":"TypeScript","readme":"# Angular Counter Component\n\n📖 This example is part of the **[free online book: Testing Angular – A Guide to Robust Angular Applications\n](https://testing-angular.com/)**. 📖\n\n## Overview\n\nThis repository builds a simple counter with Angular in three ways:\n\n- [CounterComponent](src/app/components/counter/): Counter that manages its own state. Has an Input and an Output.\n- [ServiceCounterComponent](src/app/components/service-counter): Counter that stores the state in shared service.\n- [NgRxCounterComponent](src/app/components/ngrx-counter): Counter that uses NgRx to manage the count and NgRx effects to persist them on the server.\n\n## Related projects\n\n- [Angular Flickr Search](https://github.com/9elements/angular-flickr-search) – a more complex example app\n- [Angular testing workshop](https://9elements.github.io/angular-testing-workshop/)\n\n## Development server\n\n- Clone the repository, change into the `angular-workshop` directory\n- `npm install`\n- `npm install -g @angular/cli`\n- `ng serve`\n- Navigate to http://localhost:4200/\n\n## Running unit \u0026 integration tests\n\nRun `ng test` to execute the unit \u0026 integration tests with Karma and Jasmine.\n\n## Running end-to-end tests with Cypress\n\nRun `ng run angular-workshop:cypress-run` to execute the Cypress end-to-end tests. (This starts the development server automatically.)\n\nRun `ng run angular-workshop:cypress-open` to start the interactive Cypress test runner.\n\n## Deployment\n\nRun `npm run deploy` to the deploy the code to [https://9elements.github.io/angular-workshop/].\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fangular-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F9elements%2Fangular-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F9elements%2Fangular-workshop/lists"}