Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 709 Bytes

README.md

File metadata and controls

31 lines (25 loc) · 709 Bytes

SAM TypeScript Template

This is a simple starting point for SAM serverless applications with TypeScript

.
├── src .                       <-- Source code for a lambda function
│   └── handlers.ts             <-- entrypoint for handlers configure in the template.yaml
│   └── http.ts                 <-- http basic functionality
│   └── service.ts              <-- service
├── template.yaml               <-- SAM template

Instructions

To use in AWS SAM CLI

sam init --location git+ssh://[email protected]:torstenzander/sam-typescript-template.git

Usage

npm install
npm build-watch
npm run start

Running Tests

npm run test