Skip to content

vicentefb/Video-Chat-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Web Application

Video Web App is a simple WebRTC application to showcase the usage of socket.io and peerjs to broadcast video between client and server.

Build

git clone https://github.com/vicentefb/Video-Chat-App.git
Backend
From root: npm run start
Frontend
cd client
npm install
npm run start

Go to localhost:3000

Tech

  • ReactJS for structuring and styling the front end
  • node.js - evented I/O for the backend
  • Express - fast node.js network app framework
  • Socket.io - to enable real-time, bi-directional communication between web clients and servers
  • PeerJS - WebRTC wrapper
  • Heroku - cloud platform to run server side

Folder structure

.
├── client                  # Contains the front-end
├── .gitignore                  
├── README.md
├── package-lock.json
├── package.json
└── index.js                # handles the backend socket event configuration