Skip to content

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

Notifications You must be signed in to change notification settings

busy-spin/roger

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages