Test the app out by texting a sentence to +14807573107
- A Twilio account - sign up for a free one here and receive an extra $10 if you upgrade through this link
- A Twilio phone number with SMS capabilities - configure one here
- Node.js installed - download it here
Download this repo and then install the Twilio CLI to use the Twilio Serverless Toolkit
npm install twilio-cli -g
twilio login
twilio plugins:install @twilio-labs/plugin-serverless
cd
into the \functions
directory and then run
twilio serverless:deploy
In the phone numbers section of your Twilio Console, select the Twilio number you purchased and scroll down to the Messaging section. Under A MESSAGE COMES IN change Webhook to Function and then under Service select Mandalorian-Translation, for Environment select dev-environment, and then for Function Path select /translate. Finally click the Save button below and text your number!