mikeck1 / video-chat-library-walk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Logo

CSE 110 Team :: M^3 and C

This is an example video chat application built with Twilio Video and React, using Hooks.

Update

Moved to https://github.com/Triton-Talk/tritontalk

Youtube Video of Finished Project: https://www.youtube.com/watch?v=zT_c2fCU5U8&t=243s

Online Demo

https://tritontalk.com

Preparing the application

To run the application you will need a Twilio account and Node.js and npm installed. Start by cloning or downloading the repo to your machine.

git clone https://github.com/philnash/twilio-video-react-hooks.git
cd twilio-video-react-hooks

Install the dependencies:

npm --prefix client/ install
npm --prefix backend/ install

Create a .env file in the backend/ directory.

Credentials

You will need your Twilio Account SID, available in your Twilio console. Add it to the .env file.

You will also need an API key and secret, you can create these under the Programmable Video Tools in your console. Create a key pair and add them to the .env file too.

Running the application

Once you have completed the above you can build the application with:

./build.sh

Press enter at the prompt to start the system immediately and navigate to [localhost] (localhost)

Please note that this project requires Docker to be run in its current state.

Docker is a software container platform. A Docker image contains information on everything required to make an app run. This self-contained system makes it extremely easy to ensure that your app runs on any OS without worrying about the dependency compatibility.

Regardless of where it’s deployed, your app will always run the same as long as Docker is installed on the machine.

About


Languages

Language:JavaScript 79.5%Language:CSS 10.3%Language:HTML 7.7%Language:Shell 2.0%Language:Dockerfile 0.5%