GithubHelp home page GithubHelp logo

busy-spin / roger Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.27 MB

Roger is a collection of easy web hooks using AWS serverless / AWS Chalice

Python 65.19% JavaScript 31.60% Shell 3.21%
aws chalice-framework aws-lambda aws-api-gateway

roger's Introduction

roger

Roger is a collection of easy web hooks using AWS serverless.

Roger Roger !!!

Web hooks made easy for developers.

Motive

Often times developers have to set up webhooks to integrate with certain web service providers.

Examples:

facebook messenger webhooks - for chat bots
twitter feeds webhooks - for sentiment analysis
braintree webhooks - for payment subscription updates

Using a tool like ngrok is usually the preferred way by developers, but roger is a better way based on AWS serverless listed bellow.

  1. AWS API Gateway
  2. AWS Lambda
  3. AWS SQS

Amount you will have to pay is much lesser than the tunnel based solutions. Its production ready, design for high availability and scalability.

AWS provides, AWS Chalice a python based microframework for serverless. Serverless coding and deployment has never being this easy.

Approach

Step 1

AWS cloudformation will be used to create resources, in this case will be using SQS Queue in AWS.

Step 2

Chalice will be used to code and deploy python based serverless app.
It will also take care of plumbing between AWS API Gateway and AWS Lambda and required IAM roles and policies.

Step 3 (Optional)

Use spring boot based microservice which is running in your local dev set up to consume messages from SQS. For facebook chatbots I can highly recommend messenger4j.

Or you can go completely serverless by using Event sourcing for SQS with AWS Lambda. !!!

Two steps for you

  1. I use AWS cloudformation to create the resources I need. (here I use SQS)
  2. Chalice to create, test and deploy AWS serverless app

Under the hood chalice will create API gateway and Lambda integration for me.

Topics

Set up

Extras

Developer Essentials Boto3
AWS CLI Cheat Sheet
Lambda + API Gateway
AWS Chalice

Facebook Bots

Web hooks

roger's People

Contributors

busy-spin avatar

Watchers

James Cloos avatar  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.