Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 646 Bytes

README.md

File metadata and controls

20 lines (18 loc) · 646 Bytes

egodact-feedback-server

The server behind https://feedback.egodact.com that's used internally to process all incoming feedback. Currently, this 'processing' is performed by simply forwarding received feedback via e-mail; this may change in the future.

Setup

Provide an .env file with the following environment variables:

MAILER_HOST=smtp.example.com
[email protected]
MAILER_USER_PASSWORD=password

Sending feedback

Make a POST request to /feedback/create with the following JSON body:

{
  "feedback": "Foo bar",
  "sender_email": "[email protected]"
}

Note: the sender_email field is optional.