Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/janaz/lambda-request-handler-example
- Owner: janaz
- Created: 2020-05-01T07:47:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-12T15:47:27.000Z (about 2 years ago)
- Last Synced: 2024-10-17T12:48:46.154Z (3 months ago)
- Language: HTML
- Homepage:
- Size: 231 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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`