ToeFungi / event-sender

A Lambda function that gets triggered minutely to retrieve and send scheduled events from DDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event Sender

Build Status Quality Gate Status Bugs Code Smells Coverage

This is the event sender module within the Event Scheduler Domain. It is triggered every minute by an AWS CloudWatch event. It retrieves all items scheduled for the minute of execution from DynamoDB and attempts to publish the scheduled events back to the client via the callback mechanism specified by the client in the initial request.

Installation

To get started with this project, you need to clone this repository and install the node dependencies

$ git clone git@github.com:ToeFungi/event-sender.git
$ cd event-sender
$ npm install

Tests

This project is completely covered by unit tests. To run these tests you can run the following commands

$ npm run lint
$ npm run test
$ npm run coverage

Contribution

Any feedback and contributions are welcome. Just create a pull request. Please ensure to include any adjustments to the existing tests and to cover the new code with unit tests.

About

A Lambda function that gets triggered minutely to retrieve and send scheduled events from DDB

License:MIT License


Languages

Language:TypeScript 98.0%Language:JavaScript 2.0%