Code Monkey home page Code Monkey logo

video-chat's Introduction

WebRTC Video Chat

Simple Web Application that offer you to create video meeting room using WebRTC and Socket

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You have to install Node.js in your machine.

Installing

After installing node clone the repo by using git

git clone https://github.com/50UM3N/video-chat.git
                        or
git clone [email protected]:50UM3N/video-chat.git

Or you can download the zip file.

Then open cmd or git bash on the project folder to install some modules that I used to build this project

Install Once

npm install

Nodemon For automatically restart the server as a dev dependency (optional)

npm i --sav-dev nodemon

Setting Database

For the database I use mongodb Atlas. But you can use the local also.

If you don't have any account in Atlas. Visit the page and create a free account then get your connection string. More at Documentation.

Rename the file .env_sample to .env then replace "connection string" to your connection string

Example

MONGO_URL=mongodb+srv://dbUser:<password>@cluster0.kfx8y.mongodb.net/myFirstDatabase?retryWrites=true&w=majority

Running the App

If you install nodemon the you can use. (devStart script is already added to the package.json)

npm run devStart

or

node server.js

Preview

preview image

Live Demo

For deploy the project I use heroku

Video Chat

Built With

  • Node Js - The Backend
  • Peer JS - PeerJS simplifies WebRTC peer-to-peer data, video, and audio calls.
  • SocketIo - For realtime communication
  • NPM - Dependency Management
  • GIT - Used for version control
  • Heroku - Used to Deploy Node.js applications

License

Video Chat is released under the MIT license.

video-chat's People

Contributors

50um3n avatar

Watchers

 avatar

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.