Serverless Framework

Try Ruby on Rails on AWS Lambda and API Gateway by Serverless Framework

This article is a translation of the original article. In November of last year, AWS Lambda's Ruby runtime support was announced and a demo code to run Sinatra was released. I tried running Rails API with reference to these, so I will summ…

Ruby on Rails on AWS Lambda and API Gateway by Serverless Frameworkを試してみた

昨年の11月にAWS LambdaのRubyランタイムサポートが発表されSinatraを動かすデモコードが公開されました。これらを参考にしてRails APIを動かしてみたので手順をまとめておきます。 作ったもの デモコードの使い方 Rails on Lambdaプロジェクトの作り方 作っ…

Angular+Serverless Framework+AWSな構成のサーバレスWebアプリにAmplify+API Gateway Lambda AuthorizerでCognitoユーザ認証を組み込んでみた

これはServerless Advent Calendar 2018の15日目です。 インフラ構築、Backend API、Frontend SPAと実装してきたサーバレスWebアプリのサンプルにAWS AmplifyとAWS API Gateway Lambda Authorizerを使ってCognitoユーザ認証を組み込んでみました。 今回のコ…

Create a Clean Architecture REST API with Serverless Framework and TypeScript

This article is a translation of the original article. I implemented an empty API of sample prepared in the previous article*1 so that it works. Specification of API Architecture Final goal (but I can not get it...) This article Implementa…

Serverless FrameworkとTypeScriptでClean ArchitectureライクなREST APIを作ってみる

前回のTerraformでAWSサーバーレスなサービスのインフラ構築をコード化する - Inside Closure - にへろぐではサンプルとして空っぽのAPIを用意しました。せっかくなのでこのサンプルを動くように実装してみました。 何を作ったのか アーキテクチャ 目指した…