serverless-express
serverless-express copied to clipboard
Run Express and other Node.js frameworks on AWS Serverless technologies such as Lambda, API Gateway, Lambda@Edge, and more.
https://github.com/vendia/serverless-express/issues/374 *Description of changes:* Moved `@types/aws-lambda` into `dependencies`
Upgrading from version 3.x to 4.x (Using Koa framework) Api Gateway + custom domain + base path `job` Event is coming as : ``` { "resource": "/{proxy+}", "path": "/job/status", ......
According to API Gateway v2 payload 2.0 docs (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html) the 'cookies' should be array. And below code is current handling logic for it. https://github.com/vendia/serverless-express/blob/671f914429e9708bfb1ee6ba76b5947a917592df/src/event-sources/aws/api-gateway-v2.js#L65-L67 However, with the latest express (v4.17.1)....
We've been maintaining a project based on `basic-starter-api-gateway-v1` for about a month now with no issues. We tried to issue an update today and started running into babel configuration errors....
I hope it is the right repository for asking this question. I have a aws amplify project and defined a REST API `index.js` like this: ```js const awsServerlessExpress = require('aws-serverless-express');...
First off, thanks for this great project! I'm reporting an issue here I ran into when using API Gateway v1 with a proxy resource. ### Repro I have defined a...
The Cloudfront request responds with: ```The Lambda function result failed validation: The function tried to add, delete, or change a read-only header. We can't connect to the server for this...
I was attempting to add a custom `eventSource` and was getting typehint failures as the `eventSource` isn't defined in the `ConfigureParams` type. https://github.com/vendia/serverless-express/blob/mainline/src/configure.d.ts
base PR: https://github.com/vendia/serverless-express/pull/327 https://github.com/vendia/serverless-express/pull/327#issuecomment-752816838 When I used `aws-serverless-express`, I developed express-js with typescript, so there were many inconveniences. If possible, I would like to switch this package to typescript and...
seems that query is encoded one more time when hitting express. I had to add this peace of code before passing event to module: ```js exports.handler = (event, context) =>...