{"id":24645125,"url":"https://github.com/thepatrickniyo/nestjs-socket-boiler-plate","last_synced_at":"2026-04-15T08:36:19.419Z","repository":{"id":107053710,"uuid":"389381699","full_name":"thepatrickniyo/nestjs-socket-boiler-plate","owner":"thepatrickniyo","description":"Boiler plate code to implement websocket APIs intergrated with RESTfull APIs in nestjs, using vuejs as a demo client","archived":false,"fork":false,"pushed_at":"2021-07-25T15:56:32.000Z","size":177,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T19:56:12.346Z","etag":null,"topics":["nestjs","rest-api","vuejs","websocket"],"latest_commit_sha":null,"homepage":"","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/thepatrickniyo.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}},"created_at":"2021-07-25T15:37:30.000Z","updated_at":"2024-02-17T11:36:11.000Z","dependencies_parsed_at":"2023-07-16T20:00:08.494Z","dependency_job_id":null,"html_url":"https://github.com/thepatrickniyo/nestjs-socket-boiler-plate","commit_stats":null,"previous_names":["thepatrickniyo/nestjs-socket-boiler-plate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnestjs-socket-boiler-plate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnestjs-socket-boiler-plate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnestjs-socket-boiler-plate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thepatrickniyo%2Fnestjs-socket-boiler-plate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thepatrickniyo","download_url":"https://codeload.github.com/thepatrickniyo/nestjs-socket-boiler-plate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637101,"owners_count":20485446,"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":["nestjs","rest-api","vuejs","websocket"],"created_at":"2025-01-25T14:14:18.492Z","updated_at":"2026-04-15T08:36:14.297Z","avatar_url":"https://github.com/thepatrickniyo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nestjs socket boiler plate\nAlot of totorials talking about websocket apis in nestjs do not tacklle on using both restfull api with websocket api. I found no resource talking about this but I managed to make it. \n\n- What you need is to make your `gateway` injectable and inject it in a controller instead of injecting the usual service. The usual service will be consumed by the gateway.\n- Refer to the boiler this boiler plate to check the implementation\n\n## Stacks\n- Vuejs (Vuejs CDN) as a websocket client\n- [insomenia](https://insomnia.rest/) / [postman](https://www.postman.com/) or any other REST api testing tool to test restfull api\n- Nestjs\n\n## Requirements\n\n- Nodejs\n\n## Getting started\n\n### Installing dependencies\n\n- [X] clone the [repo](https://github.com/PatrickNiyogitare28/nestjs-socket-boiler-plate)\n- [X] run `npm install` or `yarn install` to add dependencies\n\n### Starting the application\n\nAfter installing the dependencies, you can run the application using one of the following commands.\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## Testing the application\n\nAfter starting the application, you should see our layout when visiting http://localhost:3000 in your browser. After opening the application in multiple browser windows, you can test the functionality. \n\nYou can also use RESTfull API testing tool like [insomenia](https://insomnia.rest/) or [postman](https://www.postman.com/) to test the functionality\n\n## LICENSE\n[MIT LICENSE](https://github.com/PatrickNiyogitare28/nestjs-socket-boiler-plate/blob/main/LICENSE)\n\n## Author\npatrickniyogitare28@gmail.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepatrickniyo%2Fnestjs-socket-boiler-plate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthepatrickniyo%2Fnestjs-socket-boiler-plate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthepatrickniyo%2Fnestjs-socket-boiler-plate/lists"}