Setup
Before getting started, make sure Git, Node.js, and npm are installed on your system.
Obtain API Keys
You gave 2 options to obtain your API Keys
-
Demo Keys:
Fill out this Google Form and we'll email you with the API Key & Secret, valid for 72 Hours.Once they expire, you can create the credentials on the Developer Console by signing up for a free account.
-
API Keys from the Developer Console:
- Create an account on the Developer Console
- Go to API Keys in the side menu
- Create your API Keys and download them. Detailed tutorial here
Project Setup
- Open a terminal
cdinto a folder of your choice- Clone the project by running
git clone https://github.com/Realtime-Relay/terminal-chat-example.git - Go to the
terminal-chat-appdirectory
cd terminal-chat-example/terminal-chat-app - Install Dependencies
npm install
In the next section, we’ll configure the API Key and Secret in the application, run it, and walk through how the code works.