AWS Lambda interface to the Express app has been provided by lambda-request-handler module The example app includess a tiny Koa and Hapi apps linked as middlewares to the main Express app.
index
- This index page. It's using the EJS view feature.
cookies
- This page will set some cookies
inspect
- You can see here lots of details about the current request
graphql
- Opens the Apollo GraphQL Playground. An example query is query{books{title}}
koa
- An endpoint served by Koa
hapi
- An endpoint served by Hapi
fastify
- An endpoint served by Fastify
echo
- Returns back the request body. You probably want to send a JSON POST request to it
static/file.png
- Serves static binary files just like this one
static/big.html
- A large html file showcasing the content compression feature
This app is fronted by API Gateway HTTP API and REST API