Worker responsible for consuming, processing and sending notifications through different channels
This an component of Notifications Manager that is an stateless instance server responsible only for consuming notification events from message queues and try to send them to the corresponding providers.
See the main project page for details and other components.
This Node.js project uses typescript, which will be automatically installed as a development dependency.
Install all project dependencies, like Node.js and Npm. Then run:
npm install
Run it
npm start
Create a Docker network called notifications-net by running the command:
docker network create notifications-net
Start the Service Workers containers by running the following commands
docker-compose up
Execute the following command to run all test suites and log mocked results:
npm test
In order to see a test coverage report, run:
npm run test:coverage