Twilio-Video-Demo Svelte Themes

Twilio Video Demo

A demo application built using Svelte and Go to demonstrate setting up a video chat via Twilio's Video API

Twilio-Video-Demo

An application built using Svelte and Go to demonstrate setting up video chats via Twilio's video API

Technical Requirements

  • Go 1.19 or higher
  • An up-to-date NPM installation

Installation

$ git clone https://github.com/ybjozee/Twilio-Video-Demo.git
$ cd Twilio-Video-Demo

Usage

Set up the frontend

$ cd frontend
$ npm install

For the backend, make a local version of the .env file

$ cd backend
$ cp .env .env.local

Update the relevant Twilio keys in .env.local

TWILIO_ACCOUNT_SID="<<TWILIO_ACCOUNT_SID>>"
TWILIO_API_KEY_SID="<<TWILIO_API_KEY_SID>>"
TWILIO_API_SECRET_KEY="<<TWILIO_API_SECRET_KEY>>"

Run your application

# frontend
$ npm run dev
# application will run on port 8080

# backend
$ go run main.go
# application will run on port 8000

Top categories

Loading Svelte Themes