Files
server/README.md
T
StephanandStefan d596670f6b Add mail functionality into the development branch (#12)
* Added basic code for sending emails
+ Added tests for emails
+ Modified README.md to reflect changes to .env file

* [create-pull-request] push formatted files

* Added dkim

* Fixed mistake in docker-compose.yml

Co-authored-by: Stefan <[email protected]>
2021-11-03 11:01:37 +01:00

436 B

server

SETUP

Before Runningthis on you local machine some things have to be setup

  1. Run npm install

  2. Add .env file with following variables:

    DATABASE_URL: ADDRESS TO YOUR DATABASE
    DATABASE_PASSWORD: PASSOWRD OF THE DATABASE
    PORT: PORT WHERE THE API SHOULD RUN
    DOMAIN: THE DOMAIN NAME OF THE SERVER
    MAILPASSWORD: THE PASSWORD FOR THE MAIL ACCOUNT
    DEV: SWITCH FOR DEV MODE AFFECTS EMAIL SERVER