Skip to content

YaroslavGaponov/informer

Repository files navigation

Informer

service for sending notification messages

Demo

Start service

local

npm ci
npm run start

docker

docker-compose up --build

OpenAPI

open http://localhost:8888

Send email

curl -XPOST http://localhost:8888/email -d '{"from": "[email protected]", "to": "[email protected]", "subject":"test", "text": "hello"}'

Send apple push notification

curl -XPOST http://localhost:8888/apple -d '{"from": "informer", "to": "d482531bf9ee214d14ad7593bd88d78991ec6bcece5c8982c917ae029ae641e1", "subject":"test", "text": "hello"}'

Send google push notification

curl -XPOST http://localhost:8888/google -d '{"from": "informer", "to": "dcTEm2sHrPCmTMYTeYjTXX:APA91bEfwLnzlf2T2c9j4R5REfETxnzrphrvtXar3dvNIiRLYd_sn-Y5Ax4b09-J2ZnGcFtcZCBgRpk9IzavDKPIVBCF7bdurf803CxoCzsQTmUjoUmEEraCFBbE3mqzu-elOqoi6UE-", "subject":"test", "text": "hello"}'

About

service for sending notification messages

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages