Skip to content

Latest commit

 

History

History

server-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This is a server example for webhook consumption using Deno.

Configure

You need to provider SMTP credentials throught environment variables in order to send email notifications on new messages.

cp .env.example .env
vi .env # Or your favorite editor

Run

Then, use Deno and appropriate permissions to start server.

deno run --allow-net --allow-read --allow-env server.ts

Server now runs on http://localhost:8080.