{"id":16099832,"url":"https://github.com/hantsy/angular-spring-rsocket-sample","last_synced_at":"2025-03-17T17:31:21.246Z","repository":{"id":142092269,"uuid":"278770936","full_name":"hantsy/angular-spring-rsocket-sample","owner":"hantsy","description":"Demo for using Angular and Spring RSocket together","archived":false,"fork":false,"pushed_at":"2024-01-31T08:21:45.000Z","size":249,"stargazers_count":28,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-28T02:23:29.913Z","etag":null,"topics":["angular","rsocket","spring-data-mongodb","spring-webflux","websocket"],"latest_commit_sha":null,"homepage":"https://medium.com/@hantsy/building-a-chat-application-with-angular-and-spring-rsocket-3cd8013f2f55","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hantsy.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}},"created_at":"2020-07-11T02:14:17.000Z","updated_at":"2025-02-22T15:01:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea19070b-612d-41eb-942a-a5992d63ea40","html_url":"https://github.com/hantsy/angular-spring-rsocket-sample","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/hantsy%2Fangular-spring-rsocket-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fangular-spring-rsocket-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fangular-spring-rsocket-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hantsy%2Fangular-spring-rsocket-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hantsy","download_url":"https://codeload.github.com/hantsy/angular-spring-rsocket-sample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243872437,"owners_count":20361481,"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","rsocket","spring-data-mongodb","spring-webflux","websocket"],"created_at":"2024-10-09T18:44:21.970Z","updated_at":"2025-03-17T17:31:20.207Z","avatar_url":"https://github.com/hantsy.png","language":"TypeScript","readme":"# angular-spring-rsocket-sample\n\nThis sample is to demonstrate a chat application using the following cutting-edge technology stack :\n\n* Angular as client which uses `rsocket-js` to communicate with the server side\n* Spring WebFlux based RSocket server which uses WebSocket as transport protocol\n* Spring Data MongoDB based  `@Tailable`  query result as an infinite stream\n\n## Prerequisites\n\n* NodeJS  14\n* OpenJDK 14\n* Docker for Windows/MacOS\n\n## Build\n\nBefore running the application, you should build and run client and server side respectively.\n\n### Server\n\nRun a MongoDB service firstly, simply you can run it from a Docker container. There is a `docker-compose.yaml` file is ready for you.\n\n```bash\ndocker-compose up mongodb\n```\n\nBuild the application.\n\n```e\n./gradlew build\n```\n\nRun the target jar from the *build* folder to start up the application.\n\n```bash\njava -jar build/xxx.jar\n```\n\n### Client\n\nInstall dependencies.\n\n```bash\nnpm install\n```\n\nStart up the application.\n\n```bash\nnpm run start\n```\n\nOpen a browser and  navigate to http://localhost:4200.\n\n\n## Reference\n\n* [rsocket-js samples](https://github.com/rsocket/rsocket-js/blob/master/packages/rsocket-examples)\n* [RSocket With Spring Boot + JS: Zero to Hero ](https://dzone.com/articles/rsocket-with-spring-boot-amp-js-zero-to-hero)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fangular-spring-rsocket-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhantsy%2Fangular-spring-rsocket-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhantsy%2Fangular-spring-rsocket-sample/lists"}