PubNub

Virtual Events Tutorial environment setup for React

This tutorial will walk you through setting up the virtual events sample application, explain the architecture behind the app, and make some simple modifications.  The virtual events sample app shows how to integrate chat into a ‘typical’ virtual (or live) events application.  The app is part of the larger react-chat-components GitHub repository, under the samples/ directory.

1

Prerequisites

Before running this application, be sure you have the following installed:

Versions of the dependencies can be found in the project’s ReadMe

Download Source Application

In a terminal, navigate to an empty folder.  Enter the following command to clone the repository. 

This step is optional but will ensure that the version of the repository you are using matches the version used to create this tutorial.

Navigate to the /samples/live-events folder

Install the virtual events app dependencies

BackNext