PubNub Team Chat
This repository contains the code for the Team Chat web reference application hosted on the PubNub Chat Docs Page. You can download the project to run on your local machine, and explore the code to see how we built it.
The application demonstrates how to build a chat application using:
To run this application you must obtain publish and subscribe keys from your PubNub Account. If you don't already have an account, you can create one for free.
Sign in to your PubNub Dashboard.
Click Create New App.
Give your app a name, and select Chat App as the app type.
Select a region to store your user data (e.g. Portland).
Click your new app to open its settings, then click its keyset.
Locate the Publish and Subscribe keys. You'll need these keys to include in this project.
Running the project
Clone the GitHub repository.
git clone email@example.com:pubnub/typescript-ref-app-team-chat.git
Install the project.
cd typescript-ref-app-team-chat npm install
Run the project in your local environment. If you are running the app for the first time, enter your PubNub keys to begin populating sample data.
A web browser should automatically open http://localhost:3000, and you can explore your very own Team Chat app!
Visit the PubNub Chat Docs page for more information about how to use the React and Redux SDKs to add in-app chat to your applications.
This project was bootstrapped with Create React App. Special thanks to Martin Lagrange, Elvis Wolcott, and Mark Erikson.