This is an example video chat application built with Twilio Video and React, using Hooks.
Moved to https://github.com/Triton-Talk/tritontalk
Youtube Video of Finished Project: https://www.youtube.com/watch?v=zT_c2fCU5U8&t=243s
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.
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.
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.