Email client, application startup logic and tests
This commit is contained in:
@@ -6,3 +6,8 @@ database:
|
||||
username: "postgres"
|
||||
password: "password"
|
||||
database_name: "newsletter"
|
||||
email_client:
|
||||
base_url: "http://127.0.0.1"
|
||||
sender_email: "sender@example.com"
|
||||
authorization_token: "my-secret-token"
|
||||
timeout_milliseconds: 10000
|
||||
|
||||
@@ -2,3 +2,6 @@ application:
|
||||
host: "0.0.0.0"
|
||||
database:
|
||||
require_ssl: true
|
||||
email_client:
|
||||
base_url: "https://api.mailersend.com"
|
||||
sender_email: "MS_PTrumQ@test-r6ke4n1mmzvgon12.mlsender.net"
|
||||
|
||||
Reference in New Issue
Block a user