This repository contains the code for the Team Chat Reference Application hosted on PubNub Chat Docs Page.
The application demonstrates how to build a chat application using:
- PubNub
- TypeScript
- React
- Redux
- Node.js
- PubNub Account (Free)
If you don't already have an account, you can create one for free.
-
Sign in to your PubNub Admin Dashboard, click Create New App for PubNub Chat and give your app a name.
-
Select your new app, then click its keyset.
-
Locate the Publish and Subscribe keys. You'll need these keys to include in this project.
-
Clone the GitHub repository.
git clone git@github.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. You may be asked to input your PubNub keys and populate sample data if you are running the app for the first time.
npm start
Open http://localhost:3000 to view it in the browser.
Visit the PubNub Chat Docs page for more information on 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 Elvis Wolcott and Mark Erikson.
