Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/janaz/lambda-request-handler-example

Example Express.js +Koa + Hapi app packaged as a Lambda function and deployed to HTTP API using lambda-request-handler
https://github.com/janaz/lambda-request-handler-example

Last synced: about 2 months ago
JSON representation

Example Express.js +Koa + Hapi app packaged as a Lambda function and deployed to HTTP API using lambda-request-handler

Awesome Lists containing this project

README

        

## Lambda Request Handler Demo

This is a demo app that's using [`lambda-request-handler`](https://github.com/janaz/lambda-request-handler) adapter for deploying Express with Apollo Server, Koa, Hapi, and Fastify web applications to AWS Lambda and using API Gateway as the https endpoint. The tool supports many other NodeJS frameworks.

### Endpoints

The example app in this repo is deployed as a single Lambda function which is integrated with the following endpoints

* [AWS API Gateway REST API](https://e9x33odhxl.execute-api.ap-southeast-2.amazonaws.com/app/)
* [AWS API Gateway HTTP API](https://op1vayx4e3.execute-api.ap-southeast-2.amazonaws.com/) with payload version `1.0`
* [AWS API Gateway HTTP API](https://m3ud41apvf.execute-api.ap-southeast-2.amazonaws.com/) with payload version `2.0`