Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.32 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.32 KB

Twilio Programmable Text Chat

This is an implementation of Twilio Programmable Chat using React.

# NOTE: Please read Twilio Pricing before use it, as Twilio Programmable Video service is not for free use.

Setting up the react app

Create React apps with no build configuration.

Twilio API Keys

  • TWILIO_ACCOUNT_SID
  • TWILIO_API_KEY
  • TWILIO_API_SECRET
  • TWILIO_CHAT_SERVICE_SID

Setting Up The Node.js Application

Update configuration keys in .env file

TWILIO_ACCOUNT_SID = "YOUR TWILIO_ACCOUNT_SID" 
TWILIO_API_KEY = "YOUR TWILIO_API_KEY" 
TWILIO_API_SECRET = "YOUR TWILIO_API_SECRET"
TWILIO_CHAT_SERVICE_SID = "YOUR TWILIO_CHAT_SERVICE_SID"

Install node_modules

npm install

Now you are ready! Run the application with

npm start or yarn start

Your application should start up at http://localhost:3000.