Skip to content

Repository files navigation

Example TypeScript Lambda

This is an example of a TypeScript lambda, using:

Logs appear in Central ELK.

It's quite opinionated, using:

  • esbuild to compile TypeScript to run on AWS Lambda
  • Jest for testing

The aim is for this to be a starting point for a new application. Note, however, that there is a risk the repository might need updating. For example, dependency versions, or Node version.

Usage

  1. Fork (or clone1) this repository
  2. Add your code to packages/lambda/src
  3. Deploy via Riff-Raff

You'll want to edit some parts of the infrastructure in packages/cdk to ensure the app is deployed to the desired AWS account.

You'll also want to update or remove the Dependabot auto-approve workflow, which keeps this repository up to date with dependencies but may not be suitable for a production lambda!

Footnotes

  1. If cloning, you'll also want to update the remote url to match your repository

About

No description or website provided.

Topics

Resources

Code of conduct

Stars

0 stars

Watchers

24 watching

Forks

Releases

Packages

Used by

Contributors

Languages