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
To use in AWS SAM CLI
sam init --location git+ssh://[email protected]:torstenzander/sam-typescript-template.git
npm install
npm build-watch
npm run start
npm run test