mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
* 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]>
18 lines
436 B
Markdown
18 lines
436 B
Markdown
# 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
|
|
```
|