Skip to content

The Notification Manager API for creating and scheduling new notifications

Notifications You must be signed in to change notification settings

davicedraz/notifications-api

Repository files navigation

Notifications API

The Notification Manager API for creating and scheduling new notifications

This an component of Notifications Manager project that centralizes receiving requests for sending notifications in the Inbound Layer, for N services that want to send to N different channels. When ready to be sent, the notification is queued to be sent through providers.

See the main project page for details and other components.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Using Docker

Create a Docker network called notifications-net by running the command:

docker network create notifications-net

Start the API containers by running the following commands

docker-compose up

API Documentation (Swagger)

Hit /docs to see API documentation

http://localhost:3000/docs

Swagger

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Tests

About

The Notification Manager API for creating and scheduling new notifications

Resources

Stars

Watchers

Forks