Back to Aws Sam Cli

Cookiecutter NodeJS Hello-world for SAM based Serverless App

samcli/lib/init/templates/cookiecutter-aws-sam-hello-nodejs/README.md

1.159.1720 B
Original Source

Cookiecutter NodeJS Hello-world for SAM based Serverless App

A cookiecutter template to create a NodeJS Hello world boilerplate using Serverless Application Model (SAM).

Requirements

Usage

Generate a boilerplate template in your current project directory using the following syntax:

  • NodeJS 10: sam init --runtime nodejs10.x
  • NodeJS 8: sam init --runtime nodejs8.10

NOTE: --name allows you to specify a different project folder name (sam-app is the default)

Credits