-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add TypeScript hello world template w/ Lambda Powertools integr…
…ation (#193) * feat: add TypeScript hello world template * feat: change TypeScript hello world template to reflect new build proceess * Update manifest to include new workflow * initial commit powertools template * parametrization * various fixes * updated manifest * manifest-v2.json * fix manifest-v2.json syntax error Co-authored-by: Roman Boiko <[email protected]> Co-authored-by: Daniel Mil <[email protected]> Co-authored-by: EC2 Default User <[email protected]> Co-authored-by: Benedikt Pauwels <[email protected]> Co-authored-by: Mehmet Nuri Deveci <[email protected]>
- Loading branch information
1 parent
5df174d
commit b057f88
Showing
18 changed files
with
1,022 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
229 changes: 229 additions & 0 deletions
229
nodejs14.x/cookiecutter-aws-sam-hello-powertools-typescript-nodejs/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
nodejs14.x/cookiecutter-aws-sam-hello-powertools-typescript-nodejs/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Cookiecutter NodeJS TypeScript Hello-world for SAM based Serverless App | ||
|
||
A cookiecutter template to create a NodeJS TypeScript Hello world boilerplate using [Serverless Application Model (SAM)](https://github.com/awslabs/serverless-application-model). | ||
|
||
## Requirements | ||
|
||
* [AWS SAM CLI](https://github.com/awslabs/aws-sam-cli) | ||
|
||
## Usage | ||
|
||
Generate a boilerplate template in your current project directory using the following syntax: | ||
|
||
* **NodeJS 14**: `sam init --runtime nodejs14.x` | ||
|
||
> **NOTE**: ``--name`` allows you to specify a different project folder name (`sam-app` is the default) | ||
# Credits | ||
|
||
* This project has been generated with [Cookiecutter](https://github.com/audreyr/cookiecutter) | ||
|
10 changes: 10 additions & 0 deletions
10
nodejs14.x/cookiecutter-aws-sam-hello-powertools-typescript-nodejs/cookiecutter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"project_name": "Name of the project", | ||
"runtime": "nodejs14.x", | ||
"architectures": { | ||
"value": [] | ||
}, | ||
"Powertools X-Ray Tracing": ["enabled","disabled"], | ||
"Powertools Metrics": ["enabled","disabled"], | ||
"Powertools Logging": ["enabled","disabled"] | ||
} |
2 changes: 2 additions & 0 deletions
2
nodejs14.x/cookiecutter-aws-sam-hello-powertools-typescript-nodejs/setup.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[install] | ||
prefix= |
Oops, something went wrong.