{"id":15138581,"url":"https://github.com/benorama/ngrx-realtime-app","last_synced_at":"2025-10-23T15:30:26.625Z","repository":{"id":19428111,"uuid":"87016724","full_name":"benorama/ngrx-realtime-app","owner":"benorama","description":"Demo to build a realtime Angular app with a Vert.x backend and distributed event bus","archived":false,"fork":false,"pushed_at":"2023-01-07T06:48:35.000Z","size":3049,"stargazers_count":43,"open_issues_count":19,"forks_count":22,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-29T21:10:10.614Z","etag":null,"topics":["angular","groovy","realtime","typescript","vertx"],"latest_commit_sha":null,"homepage":null,"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/benorama.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}},"created_at":"2017-04-02T21:16:09.000Z","updated_at":"2024-08-01T04:17:43.000Z","dependencies_parsed_at":"2022-08-17T22:55:07.423Z","dependency_job_id":null,"html_url":"https://github.com/benorama/ngrx-realtime-app","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/benorama%2Fngrx-realtime-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benorama%2Fngrx-realtime-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benorama%2Fngrx-realtime-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benorama%2Fngrx-realtime-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benorama","download_url":"https://codeload.github.com/benorama/ngrx-realtime-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237843829,"owners_count":19375210,"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","groovy","realtime","typescript","vertx"],"created_at":"2024-09-26T07:41:49.270Z","updated_at":"2025-10-23T15:30:26.241Z","avatar_url":"https://github.com/benorama.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Introduction\n\nThis is a proof of concept that demonstrates the ability to build a realtime app with an [Angular](https://angular.io) web client (powered by a [Ngrx](http://ngrx.github.io) data architecture) and a [Vert.x](http://vertx.io) server.\n\nPlease check the Medium article [Building a realtime web app with Angular/Ngrx and Vert.x](https://medium.com/@benorama/building-a-realtime-web-app-with-angular-ngrx-and-vert-x-a5381c0397a1) for more info.\n\n**Goals**\n\n* share and synchronize a common (Ngrx-based) state between multiple connected clients,\n* distribute in realtime (Ngrx-based) actions across multiple connected clients (which impact local states/reducers).\n\nNote: [@ngrx/store](https://github.com/ngrx/store) is a RxJS powered state management inspired by Redux for Angular apps.\nIt's currently the most popular way to structure complex business logic in Angular apps.\n\n**Demo**\n\nFor the demo, the app uses a simple counter example, with increment, decrement and reset actions.\n\n![Demo](https://cloud.githubusercontent.com/assets/394356/24591119/6be5fa04-17fa-11e7-9635-d0ab1de11e70.png)\n\n## Running the apps locally\n\n```\n# Clone the repo\ngit clone https://github.com/benorama/ngrx-realtime-app.git\n```\n\nPrerequisites:\n* [Typescript 2.0+](https://www.typescriptlang.org/index.html#download-links)\n* [Angular CLI](https://cli.angular.io)\n* [Java](https://java.com)\n\n### Vertx server app\n\nFirst, compile and run Vertx app locally.\n\n```\n# Go into core module directory\ncd ngrx-realtime-app/server\n\n# Build project\n./gradlew shadowJar\n# Or gradle shadowJar if you have Gradle installed locally\n\n# Run the server app locally\njava -jar build/libs/server-1.0.1-fat.jar\n```\n\n### Angular client app\n\n```\n# Go into Angular app directory\ncd ../client\n\n# Install dependencies (you can get a burger...)\nnpm install\n# Or yarn\n\n# Run the client app locally\nng serve\n```\n\nTo test the app:\n* open the client app in two separate browser windows,\n* login with 2 different user names,\n* increment/decrement/reset counter\n\n## Bugs and feedback\n\nIf you have any questions or suggestions to improve the demo app, don't hesitate to submit an issue or a pull request!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenorama%2Fngrx-realtime-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenorama%2Fngrx-realtime-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenorama%2Fngrx-realtime-app/lists"}