Skip to content

Mohamed-Ashour/notification-service

Repository files navigation

Notification service

A service that expose an api and handle notifications sending to services providers, it use Bull a redis based queue to handle notification requests and rate limit them when needed. The service was designed to scale, so server, redis, db, and workers can each scale horizontally.

service diagram

API

POST /notification - Add notification to be served

GET /docs - Swagger docs for the api

GET /queues - Queues visualization dashboard

Get started

rename .env-example to .env

Build and run containers

$ npm run docker-build

Enter bash of node container

$ npm run docker-start

Start services

$ npm start

Run test cases

$ npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published