{"id":25268668,"url":"https://github.com/tamdilip/sse-nest-js","last_synced_at":"2026-04-15T05:32:27.814Z","repository":{"id":199740064,"uuid":"703572624","full_name":"tamdilip/sse-nest-js","owner":"tamdilip","description":"Sample Nest JS app to test Server-Sent Events (SSE) to push notifications to UI from API layer without Websockets.","archived":false,"fork":false,"pushed_at":"2023-10-13T16:44:12.000Z","size":366,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T07:39:17.941Z","etag":null,"topics":["corn-job","java","nestjs","nodejs","notifications","server-sent-events","server-side-events","sse","websocket"],"latest_commit_sha":null,"homepage":"https://sse-nest-js.onrender.com/?userId=2","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/tamdilip.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-11T13:48:04.000Z","updated_at":"2023-10-11T17:22:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"07e238ca-fc16-489c-9a9a-f86390faa2e6","html_url":"https://github.com/tamdilip/sse-nest-js","commit_stats":null,"previous_names":["tamdilip/sse-nest-js"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tamdilip/sse-nest-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fsse-nest-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fsse-nest-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fsse-nest-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fsse-nest-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tamdilip","download_url":"https://codeload.github.com/tamdilip/sse-nest-js/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamdilip%2Fsse-nest-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31828531,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"online","status_checked_at":"2026-04-15T02:00:06.175Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["corn-job","java","nestjs","nodejs","notifications","server-sent-events","server-side-events","sse","websocket"],"created_at":"2025-02-12T10:32:04.873Z","updated_at":"2026-04-15T05:32:27.789Z","avatar_url":"https://github.com/tamdilip.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔔 sse-nest-js\n\n[![Live demo](https://img.shields.io/badge/Render-Live%20demo-violet?style=flat-square\u0026logo=render\u0026logoColor=violet)](https://sse-nest-js.onrender.com/?userId=2)\n[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod\u0026style=flat-square)](https://gitpod.io/#https://github.com/tamdilip/sse-nest-js) \n\n\nSample Nest JS app to test Server-Sent Events (SSE) to push unidirectional notifications to UI from API layer without Websockets.\n\n- UI will subscribe to the Server-Sent Events (SSE) endpoint on the NestJS layer on page load for the specified user id in URL (`?userId=2`).\n- A `corn scheduler` is setup on the Nest JS layer for every `2 seconds` which will emit message to a random user id.\n- The SSE connection will be destroyed on page unload.\n\n## Local setup\n\n```\n        $ git clone https://github.com/tamdilip/sse-nest-js.git\n        $ cd sse-nest-js\n        $ npm start\n        $ Visit in Browser -\u003e http://localhost:3000/?userId=2\n```\n\n\n## Screenshot\n![Image of Demo App](https://raw.githubusercontent.com/tamdilip/sse-nest-js/main/client/images/demo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamdilip%2Fsse-nest-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftamdilip%2Fsse-nest-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamdilip%2Fsse-nest-js/lists"}