This is an implementation of Twilio Programmable Chat using React.
To run this application you will need four configuration parameters, available from your Twilio console.
|Service Instance SID||Like a database for your Programmable Chat data - generate one in the console here|
|Account SID||Your primary Twilio account identifier - find this in the console here.|
|API Key||Used to authenticate - generate one here.|
|API Secret||Used to authenticate - just like the above, you'll get one here.|
When you generate an API key pair at the URLs above, your API Secret will only be shown once - make sure to save this in a secure location, or possibly your
Create a configuration file for your application:
cp .env.example .env
.env with the four configuration parameters we gathered from above.
Next, we need to install our dependencies from npm:
npm install cd client/ npm install cd ..
Now you are ready! Run the application with
Your application should start up at http://localhost:3000.