Video Chat WebApp using NodeJS | Redis | VueJS | WebRTC | Socket.io
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.
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
npm install
npm audit fix
npm run serve
Stuck somewhere, need help? Feel free to write to me at [email protected]