https://github.com/nkcoder/whitehaven
A simple AWS Lambda function, which consumes messages from AWS SQS, gets data from AWS DynamoDB, then notify webhook APIs.
https://github.com/nkcoder/whitehaven
dynamodb lambda nodejs purify-ts sqs typescript zod
Last synced: 12 months ago
JSON representation
A simple AWS Lambda function, which consumes messages from AWS SQS, gets data from AWS DynamoDB, then notify webhook APIs.
- Host: GitHub
- URL: https://github.com/nkcoder/whitehaven
- Owner: nkcoder
- License: mit
- Created: 2024-09-21T10:24:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-01T09:38:12.000Z (over 1 year ago)
- Last Synced: 2025-01-12T09:30:00.765Z (about 1 year ago)
- Topics: dynamodb, lambda, nodejs, purify-ts, sqs, typescript, zod
- Language: TypeScript
- Homepage:
- Size: 369 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README


This project includes a AWS Lambda function, which consumes messages from AWS SQS, gets data from AWS DynamoDB, then notifies remote systems by calling webhook APIs.
The project is deployed to AWS using the [Serverless Framework](https://www.serverless.com/), and pipelined using Github Actions.
## System Components
- AWS Lambda function
- AWS SQS
- AWS DynamoDB
- Serverless Framework
- Github Actions
- [purify-ts](https://gigobyte.github.io/purify/): a small functional programming library for TypeScript
- [vitest](https://vitest.dev/): unit testing
- [zod](https://zod.dev/): schema validation
- [ky](https://github.com/sindresorhus/ky): delightful HTTP requests
## Development
Run the tests:
```bash
auto/test.sh
```
## 1Pager
[1Pager](./docs/1pager.md)