aws-lambda-web-adapter icon indicating copy to clipboard operation
aws-lambda-web-adapter copied to clipboard

feat(serverless-nestjs): added example implementation of nestjs with …

Open qutek opened this issue 2 years ago • 1 comments

The article "Container Image Support for AWS Lambda" on the Serverless Framework blog introduces the ability to use container images with AWS Lambda, allowing developers to have full control over the execution environment and access to custom runtimes and libraries.

This PR adds a basic example of using the aws-lambda-web-adapter package with the NestJS framework, and the Serverless Framework version 3.

qutek avatar Feb 22 '24 12:02 qutek

Could you move this under "examples/sls" directory? I want to separate examples using different IaC tools.

bnusunny avatar Mar 10 '24 12:03 bnusunny

@bnusunny sorry, I just realized your comment.

so the files need to be located under /examples/sls or /examples/sls/serverless-nestjs?

qutek avatar Apr 03 '24 21:04 qutek

Please put this example into /examples/sls/nextjs directory.

In addition, you need to redirect nextjs cache directory under /tmp. This enables people to use nextjs cache. Take a look at this and this files.

bnusunny avatar Apr 04 '24 01:04 bnusunny

@bnusunny okay,

this example is actually for nestjs (not nextjs), sorry if it is confusing

qutek avatar Apr 04 '24 14:04 qutek

Thanks for the contribution! @qutek

bnusunny avatar Apr 05 '24 02:04 bnusunny