This sample code helps get you started with a simple Sinatra web app deployed on AWS Lambda. It is tested with Ruby 2.5.x.

Source: aws-samples/serverless-sinatra-sample: Demo code for running Ruby Sinatra on AWS Lambda