{"id":13692004,"url":"https://github.com/sastava007/Video-Chat-WebApp-Scalled-Horizontally","last_synced_at":"2025-05-02T16:31:11.854Z","repository":{"id":39317892,"uuid":"221984507","full_name":"sastava007/Video-Chat-WebApp-Scalled-Horizontally","owner":"sastava007","description":"Video Chat WebApp using NodeJS | Redis | VueJS | WebRTC | Socket.io","archived":false,"fork":false,"pushed_at":"2023-01-05T00:59:00.000Z","size":2374,"stargazers_count":37,"open_issues_count":28,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T17:13:02.527Z","etag":null,"topics":["p2p","peer-to-peer","redis","socketio","video","video-chat","video-chat-demo","video-chat-meetings","video-chatting","videochat","videochatvue","videoconferencing","videoconferencing-room","vuejs","webapp","webrtc","webrtc-video"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/sastava007.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":"2019-11-15T18:51:06.000Z","updated_at":"2024-07-18T23:52:41.000Z","dependencies_parsed_at":"2023-02-03T03:00:32.345Z","dependency_job_id":null,"html_url":"https://github.com/sastava007/Video-Chat-WebApp-Scalled-Horizontally","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/sastava007%2FVideo-Chat-WebApp-Scalled-Horizontally","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sastava007%2FVideo-Chat-WebApp-Scalled-Horizontally/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sastava007%2FVideo-Chat-WebApp-Scalled-Horizontally/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sastava007%2FVideo-Chat-WebApp-Scalled-Horizontally/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sastava007","download_url":"https://codeload.github.com/sastava007/Video-Chat-WebApp-Scalled-Horizontally/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224319558,"owners_count":17291858,"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":["p2p","peer-to-peer","redis","socketio","video","video-chat","video-chat-demo","video-chat-meetings","video-chatting","videochat","videochatvue","videoconferencing","videoconferencing-room","vuejs","webapp","webrtc","webrtc-video"],"created_at":"2024-08-02T17:00:52.452Z","updated_at":"2024-11-12T17:32:39.705Z","avatar_url":"https://github.com/sastava007.png","language":"Vue","funding_links":[],"categories":["Samples"],"sub_categories":[],"readme":"\n# Video Chat WebApp\n\n## Features of the application: \n\n - Several available rooms and possibility to jump across them.\n - Realtime user status (online/absent/unavailable)\n - Private chat with anyone else in the room \u0026 get notified whether the other user is already talking with someone else or has closed the chat.\n - Be able to start a video conference within the same private chat. \n - Horizontally scaled the two instances of app server using ***Load Balancer*** and ***Redis Adapter***.\n\n## Technology Stack\n\n - Backend: NodeJS + Express\n - VueJS as frontend framework\n - Redis as a database in memory\n - Docker \u0026 Docker Compose\n\n## Application Architecture\nAs we are running two diferrent instances of app server, with each server maintaining the data of it's own users locally so in case if two users want to communicate with each other but they are connected with different instances then it's not going to happen. So we need a shared memory which is accessible by both app servers and here come's the Redis into picture. \n\n\u003cp align=\"center\"\u003e \n\u003cimg height=\"350\" src=\"https://i.imgur.com/IKloc5K.png\"\u003e\n\u003c/p\u003e\n\nIn case of Docker, we'll be running 3 containers the first two for app servers and third one for Redis. \n\u003cp align=\"center\"\u003e \n\u003cimg height=\"320\" src=\"https://i.imgur.com/75bP04a.png\"\u003e\n\u003c/p\u003e\n\n\n\n\n## Interested in knowing how Video Communication works?\n\n\nI'm using [**_WebRTC_**](https://webrtc.org/) is a free and open project that provides web and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. WebRTC enables peer to peer communications even tough it still needs a server for the _signaling_ process. *In this case the private chat rooms will be used as the signaling mechanism between the two users*\n\n![enter image description here](https://i.imgur.com/9ybiMpY.png)\n\n\n\n## Installation Guide\n\n - Fork this repository, please star too.\n - Enter the respective folder, and run `npm install`\n - Fix dependency issues, if any using `npm audit fix`\n - Run `npm run serve`\n\nStuck somewhere, need help? Feel free to write to me at _[sastava007@gmail.com](mailto:sastava007@gmail.com)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsastava007%2FVideo-Chat-WebApp-Scalled-Horizontally","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsastava007%2FVideo-Chat-WebApp-Scalled-Horizontally","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsastava007%2FVideo-Chat-WebApp-Scalled-Horizontally/lists"}