{"id":13764820,"url":"https://github.com/avatsaev/angular-contacts-app-example","last_synced_at":"2025-04-04T07:07:48.015Z","repository":{"id":50699238,"uuid":"96062036","full_name":"avatsaev/angular-contacts-app-example","owner":"avatsaev","description":" Full Stack Angular PWA example app with NgRx \u0026 NestJS","archived":false,"fork":false,"pushed_at":"2023-02-12T12:55:42.000Z","size":1026,"stargazers_count":626,"open_issues_count":6,"forks_count":204,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-03-28T06:08:16.516Z","etag":null,"topics":["angular","angular4","bootstrap4","ng-bootstrap","ngrx","ngrx-effects","ngrx-entity","ngrx-store","pwa","socket","socket-io"],"latest_commit_sha":null,"homepage":"http://angular-contacts-ngrx.surge.sh","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/avatsaev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["avatsaev"]}},"created_at":"2017-07-03T02:16:16.000Z","updated_at":"2025-03-23T02:55:26.000Z","dependencies_parsed_at":"2023-10-20T17:58:38.597Z","dependency_job_id":"edf81854-7018-4ad9-82dd-09c71b3eaee8","html_url":"https://github.com/avatsaev/angular-contacts-app-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatsaev%2Fangular-contacts-app-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatsaev%2Fangular-contacts-app-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatsaev%2Fangular-contacts-app-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatsaev%2Fangular-contacts-app-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avatsaev","download_url":"https://codeload.github.com/avatsaev/angular-contacts-app-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247135144,"owners_count":20889421,"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","angular4","bootstrap4","ng-bootstrap","ngrx","ngrx-effects","ngrx-entity","ngrx-store","pwa","socket","socket-io"],"created_at":"2024-08-03T16:00:29.712Z","updated_at":"2025-04-04T07:07:47.986Z","avatar_url":"https://github.com/avatsaev.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://nestjs.com/\" target=\"blank\"\u003e\u003cimg src=\"https://i.imgur.com/R2NlsFd.png\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n# Full Stack Angular PWA app with NgRx Store, Effects (HTTP+WebSockets), Entity \u0026 NestJS\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n\n\n\n**Backend is available here: https://github.com/avatsaev/angular-contacts-app-example-api**\n\n\n**DEMO: https://angular-contacts-ngrx.surge.sh**\n\nThis application uses [@ngrx/store](https://github.com/ngrx/platform/blob/master/docs/store/README.md) to manage application state, and [@ngrx/effects](https://github.com/ngrx/platform/blob/master/docs/effects/README.md) to manange side effects (http+sockets), It also uses NgRx fractal state management to leverage lazy loading of reducers and effects.\n\n[@ngrx/entity](https://github.com/ngrx/platform/tree/master/docs/entity) is released and available on NPM, @ngrx/entity helps to reduce boilerplate and [manipulate data](https://i.imgur.com/2IGdFRB.jpg) in a fast and easy fashion, you can find @ngrx/entity implementation in Contacts Reducer.\n\n\n# NGRX infrastructure\n\n\n## Ngrx + Effects with an HTTP Service\n\n![](https://i.imgur.com/qtjdPbe.png)\n\n\n## Ngrx + Effects with Socket.IO\n\n![](https://i.imgur.com/jIQ4Rd3.png)\n\n\n## Lighthouse Audit:\n\n![](https://i.imgur.com/UqW3s9M.png)\n\n\n## Get started \n\nYou can run the app with docker compose:\n\n```\n$ docker-compose up --build\n```\n\nThe app will be available at: http://localhost:4000\n\n![](http://i.imgur.com/TKWwYgQ.png)\n\n![](http://i.imgur.com/GBBXbuu.png)\n\n![](http://i.imgur.com/J4inaXx.png)\n\n## Development server\n\nStart the backend server: https://github.com/avatsaev/angular-contacts-app-example-api\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\nBefore running the tests make sure you are serving the app via `ng serve`.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","funding_links":["https://github.com/sponsors/avatsaev"],"categories":["TypeScript","Angular"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favatsaev%2Fangular-contacts-app-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favatsaev%2Fangular-contacts-app-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favatsaev%2Fangular-contacts-app-example/lists"}