Giter Site home page Giter Site logo

bogdanrat / aws-serverless-poc Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 131 KB

AWS Serverless API POC

License: MIT License

Shell 9.55% Go 90.45%
aws aws-lambda aws-dynamodb aws-apigateway aws-cloudformation aws-cognito aws-sns dynamodb dynamodb-streams apigateway

aws-serverless-poc's Introduction

AWS Serverless CRUD API POC

Managed, built & deployed through AWS SAM

Services

  • Amazon API Gateway: proxies incoming request to the corresponding Lambda function, as an AWS_PROXY integration. Integrates with Amazon Cognito for Authorization. Features an API Usage Plan for API Quota & Throttling and API Key for Client access.
  • AWS Lambda: each Lambda function handles a specific event: create, get, update, delete, search (by book author, title or category) and auth events (signup and login)
  • Amazon DynamoDB: models a Book entity, with Author & Title as the primary key (hash key and sort key, respectively). Item-level changes are pushed to a DynamoDB Streams. An Event Source Mapping is established between the streams and a Lambda function that processes the stream and sends notifications to an SNS Topic when:
    • a new book has been published
    • a book went out of stock
    • new formats (hardcover, paperback, audiobook etc.) are available for a book
  • Amazon SNS: implements a Pub/Sub pattern for book status changes. The email subscription is automatically created through the SAM template by the stack creation responsible (configurable through parameters).
  • Amazon Cognito: provides authentication and authorization mechanisms
  • Amazon CloudWatch: monitoring custom metric data sent by the Lambda functions

Architecture

aws-serverless-poc's People

Contributors

bogdanrat avatar bogdanrat-zen avatar

Watchers

 avatar

Forkers

anilktechie

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.