Skip to content

elizabethsiegle/mandalorian-language-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Translate English to Mandalorian with Twilio Serverless and SMS

Test the app out by texting a sentence to +14807573107 img example

Prerequisites

  1. A Twilio account - sign up for a free one here and receive an extra $10 if you upgrade through this link
  2. A Twilio phone number with SMS capabilities - configure one here
  3. Node.js installed - download it here

Steps

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. image of phone number configuration Finally click the Save button below and text your number! img example