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.
- Node.js web server using Express.js and Typescript
- Programmable SMS Twilio API
- React and Javascript for the client-side
- Deployed with Heroku. You can check out the live application here
- Send a message to a person's phone using SMS
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:
- Clone this repository and
cdinto it
git clone https://github.com/BOLT04/client-connector.git
cd client-connector- Install dependencies
npm install- Run the application
npm start- Navigate to http://localhost:3000