Coder Social home page Coder Social logo

sastava007 / video-chat-webapp-scalled-horizontally Goto Github PK

View Code? Open in Web Editor NEW
36.0 5.0 16.0 2.32 MB

Video Chat WebApp using NodeJS | Redis | VueJS | WebRTC | Socket.io

Dockerfile 0.63% JavaScript 36.21% HTML 1.34% Vue 59.84% SCSS 1.98%
video-chat videochat webapp videochatvue vuejs webrtc webrtc-video socketio videoconferencing videoconferencing-room

video-chat-webapp-scalled-horizontally's Introduction

Video Chat WebApp

Features of the application:

  • Several available rooms and possibility to jump across them.
  • Realtime user status (online/absent/unavailable)
  • Private chat with anyone else in the room & get notified whether the other user is already talking with someone else or has closed the chat.
  • Be able to start a video conference within the same private chat.
  • Horizontally scaled the two instances of app server using Load Balancer and Redis Adapter.

Technology Stack

  • Backend: NodeJS + Express
  • VueJS as frontend framework
  • Redis as a database in memory
  • Docker & Docker Compose

Application Architecture

As 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.

In case of Docker, we'll be running 3 containers the first two for app servers and third one for Redis.

Interested in knowing how Video Communication works?

I'm using WebRTC 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

enter image description here

Installation Guide

  • Fork this repository, please star too.
  • Enter the respective folder, and run npm install
  • Fix dependency issues, if any using npm audit fix
  • Run npm run serve

Stuck somewhere, need help? Feel free to write to me at [email protected]

video-chat-webapp-scalled-horizontally's People

Contributors

dependabot[bot] avatar sastava007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

video-chat-webapp-scalled-horizontally's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.