An application to contact users via SMS using Twilio APIs
MIT License
A web application to contact users via SMS using Twilio APIs
ℹ️ This project is for a hackathon submission. You can find the announcement post and my documented journey of this project on dev.to.
This application uses the dotenv
module to read the environement variables configuration. So in order to run the server, you must create a .env file and set the appropriate values to each variable. Below is a table with the variables you need to set, or check the file .env-sample
(optional values aren't on the table):
Env Variable | Description |
---|---|
TWILIO_ACCOUNT_SID | Your primary Twilio account identifier - find this in the Console. |
TWILIO_AUTH_TOKEN | Used to authenticate - just like the above, you'll find this here. |
TWILIO_FROM_PHONE_NUMBER | A Twilio phone number in E.164 format - you can get one here |
You can also set PORT
to specify the port the server should listen to.
After the above requirements have been met:
cd
into itgit clone https://github.com/BOLT04/client-connector.git
cd client-connector
npm install
npm start