diff --git a/src/HttpApi/appsettings.Example.json b/src/HttpApi/appsettings.Example.json new file mode 100644 index 0000000..65d4bfb --- /dev/null +++ b/src/HttpApi/appsettings.Example.json @@ -0,0 +1,46 @@ +{ + "Logging": { + "Type": "SimpleConsole", + "LogLevel": "Information", + "TimestampFormat": "yyyy-MM-ddTHH:mm:ss.fffK", + "UseUtcTimestamp": true + }, + "Localization": { + "DefaultCultureName": "en-US", + "CacheDuration": "00:00:30" + }, + "JsonWebToken": { + "Issuer": "https://api.travel-guide.cuqmbr.xyz", + "Audience": "https://travel-guide.cuqmbr.xyz", + "IssuerSigningKey": "change-this-sufficiently-logn-string", + "AccessTokenValidity": "00:03:00", + "RefreshTokenValidity": "14.00:00:00" + }, + "Datastore": { + "Type": "postgresql", + "ConnectionString": "Host=127.0.0.1;Port=5432;Username=postgres;Password=0000;Database=travel_guide;", + "PartitionName": "application", + "Migrate": true, + "SeedIdentity": true, + "SeedData": false + }, + "PaymentProcessing": { + "CallbackAddressBase": "https://api.travel-guide.cuqmbr.xyz", + "ResultAddressBase": "https://travel-guide.cuqmbr.xyz", + "LiqPay": { + "PublicKey": "sandbox_xxxxxxxxxxxx", + "PrivateKey": "sandbox_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" + } + }, + "Email": { + "Smtp": { + "Host": "mail.travel-guide.cuqmbr.xyz", + "Port": "465", + "UseTls": true, + "Username": "no-reply", + "Password": "super-secret-password", + "SenderAddress": "no-reply@travel-guide.cuqmbr.xyz", + "SenderName": "Travel Guide" + } + } +}