Code Monkey home page Code Monkey logo

serverless-twilio-interface's Introduction

Project to spin up the infrastructure for a serverless text message response interface using twilio, apigateway, and aws lambda.

Basically a one button operationalizing of this tutorial

Setup

  1. Create a virtualenv and pip install -e text_message_interface
  2. Install terraform
  3. Create a twilio account and add a phone number
    • Create a secrets.yaml from the secrets.yaml.template setting account info from twilio
  4. Create an aws account
    • Add setup credentials in ~/.aws as described here

Development

This code will allow you to write a text responder entirely in python.

All you need to do is modify handle_text_message in lambda_code/lambda_function.py which will receive the texted information as a string.

Deploy infrastructure

Make sure you have activated the venv you created above.

  1. cd terraform_twilio
  2. terraform init
  3. terraform plan
  4. terraform apply

serverless-twilio-interface's People

Contributors

dstuck avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.