Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/envek/cookiecutter-aws-sam-typescript-layers
AWS SAM template to quickly set up Lambda application using TypeScript on Node.js 14 with shared layers for dependencies
https://github.com/envek/cookiecutter-aws-sam-typescript-layers
aws-lambda aws-lambda-node aws-sam cookiecutter lambda-layer typescript
Last synced: 11 days ago
JSON representation
AWS SAM template to quickly set up Lambda application using TypeScript on Node.js 14 with shared layers for dependencies
- Host: GitHub
- URL: https://github.com/envek/cookiecutter-aws-sam-typescript-layers
- Owner: Envek
- License: mit
- Created: 2021-02-12T11:26:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-29T13:48:24.000Z (over 3 years ago)
- Last Synced: 2024-11-02T09:24:30.733Z (18 days ago)
- Topics: aws-lambda, aws-lambda-node, aws-sam, cookiecutter, lambda-layer, typescript
- Language: TypeScript
- Homepage: https://evilmartians.com/chronicles/serverless-typescript-a-complete-setup-for-aws-sam-lambda
- Size: 15.6 KB
- Stars: 21
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Template for AWS SAM using TypeScript and shared layers
This is a [Cookiecutter](https://github.com/audreyr/cookiecutter) template to create a Serverless application based on [Serverless Application Model (SAM)](https://aws.amazon.com/serverless/sam/) on Node.js 14 runtime using TypeScript for Lambda functions source code and shared layers for runtime dependencies.
Resulted application will be close to this example app: [aws-sam-typescript-layers-example](https://github.com/Envek/aws-sam-typescript-layers-example/)
## Usage
[Install AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) and run following command:
```sh
sam init --location gh:Envek/cookiecutter-aws-sam-typescript-layers
```You'll be prompted a few questions to help this template to scaffold this project and after its completion you should see a new folder at your current path with the name of the project you gave as input.
## License
This project is licensed under the terms of the [MIT license](https://opensource.org/licenses/MIT).