An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

![CI - dev](https://github.com/nkcoder/whitehaven/actions/workflows/deploy_dev.yml/badge.svg?branch=main)

![CI - prod](https://github.com/nkcoder/whitehaven/actions/workflows/deploy_prod.yml/badge.svg?branch=main)

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)