Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.07 KB

File metadata and controls

32 lines (23 loc) · 1.07 KB

OpenTok Accelerator Sample App for JavaScript React

Quick start

This document shows you how to prepare and run the sample application. The app is built using Accelerator Core JS and the following accelerator packs:

Configuration

Add a config.json file with your OpenTok credentials to the src directory:

{
  "apiKey": "YOUR_API_KEY",
  "sessionId": "YOUR_SESSION_ID",
  "token": "YOUR_TOKEN"
}

Deploying and running the app

This sample application was built with Create React App and uses webpack to transpile code.

$ npm install
$ npm run start

Looking for a sample in plain JavaScript? Click here.