backend moved to separate directory
backend: deleted the old structure
This commit is contained in:
37
go-backend/configs/config.template.json
Normal file
37
go-backend/configs/config.template.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"site": {
|
||||
"WebsiteTitle": "My Carsharing Site",
|
||||
"BaseUrl": "https://domain.de",
|
||||
"AllowOrigins": "https://domain.de"
|
||||
},
|
||||
"Environment": "dev",
|
||||
"db": {
|
||||
"Path": "data/db.sqlite3"
|
||||
},
|
||||
"smtp": {
|
||||
"Host": "mail.server.com",
|
||||
"User": "username",
|
||||
"Password": "password",
|
||||
"Port": 465
|
||||
},
|
||||
"templates": {
|
||||
"MailPath": "templates/email",
|
||||
"HTMLPath": "templates/html",
|
||||
"StaticPath": "templates/css",
|
||||
"LogoURI": "/assets/LOGO.png"
|
||||
},
|
||||
"auth": {
|
||||
"APIKey": ""
|
||||
},
|
||||
"recipients": {
|
||||
"ContactForm": "contacts@server.com",
|
||||
"UserRegistration": "registration@server.com",
|
||||
"AdminEmail": "admin@server.com"
|
||||
},
|
||||
"security": {
|
||||
"RateLimits": {
|
||||
"Limit": 1,
|
||||
"Burst": 60
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user