https://github.com/geekeast/create-typescript-lambda-orchestrator
The template for creating a lambda orchestrator which consume events from AWS SQS
https://github.com/geekeast/create-typescript-lambda-orchestrator
eventbridge lambda localstack microservice orchestrator sqs
Last synced: 7 months ago
JSON representation
The template for creating a lambda orchestrator which consume events from AWS SQS
- Host: GitHub
- URL: https://github.com/geekeast/create-typescript-lambda-orchestrator
- Owner: GeekEast
- Created: 2022-08-20T01:56:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T05:07:12.000Z (almost 2 years ago)
- Last Synced: 2025-09-08T16:01:27.545Z (7 months ago)
- Topics: eventbridge, lambda, localstack, microservice, orchestrator, sqs
- Language: TypeScript
- Homepage:
- Size: 760 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# create-typescript-lambda-orchestrator

## Customize
- search `create-typescript-lambda-orchestrator` globally and replace with whatever you like as your **project name**
- search `lambda-orchestrator-queue` globally and replace with whatever you like as local **queue name**
## Start
```sh
# install deps
pnpm install
# start localstack
pnpm stack up
# start serverless (lambda function)
pnpm dev
# send a test event to eventBus
pnpm stack event:send
```
## Register Tasks
- add a new event type in `src/constant.ts` under `REGISTERED_EVENT_TYPE` enum.

- add a `.task.ts` under `src/tasks` following `sample.task.ts` with the new register event type as the Dependency Injection **Token**.

- add `export * from "./.task.ts"` in `src/tasks/register.ts`

- If you want to send a local event to test, please update `DetailType: "SAMPLE_EVENT"` in `local/sendEvent.js` to the new registered event type.
