Tech Stack: Node.js, Socket.io, WebRTC
Initial Project Setup:
- Create an empty directory named
video-chat-app. - Open up your console, navigate to our new directory, and run
npm init. - Within video-chat-app the directory, and run
npm install express ejs socket.io uuid peer. This will install all the dependency that we need to build this application. - Also as a dev dependency, we will install Nodemon. run
npm install — dev nodemon. This will install nodemon as a dev dependency. - Create a file named
server.js— this file will keep all our server-side logic
How to run the project?
- Clone this repository in your local system.
- Open the command prompt from your project directory and run the command
npm install. - Open the command prompt from your project directory and run the command
npm start. - Go to your browser and type
http://127.0.0.1:3030/in the address bar.
