Skip to content

eraseee/everllence

Repository files navigation

Everllence

Building:

Build.ps1 have been included, this can be run to build a local image of the docker container.

To distribute this, image uploading can be done directly from docker build.

Running locally:

Exposing port 8080 to localhost and running the container in the background with -d

docker run -d -p 8080:8080 everllence

Tests:

A unit test project have been added, there are two tests that can be run through this, to test getting a channel, and testing that the notification flow works.

Manual testing can be done, by starting the project, and sending a post request to localhost:8080/send-notification with a "payload"

Config:

Json example is including in the project file under config.json

This is read by default, but can add environment variable to CONFIG_PATH to parse in a separate config file.

Example Request:

Post request to localhost:8080/send-notification

Json body : {

  "recipient": "Some user",

  "subject": "Order being delivered",

  "message": "lets go pick up the order"

}

About

Simple notification api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors