add dotnet backend
This commit is contained in:
17
backend-dotnet/AppConfig.cs
Normal file
17
backend-dotnet/AppConfig.cs
Normal file
@ -0,0 +1,17 @@
|
||||
namespace DexDemoBackend;
|
||||
|
||||
public class AppConfig
|
||||
{
|
||||
public string DbHost { get; init; } = default!;
|
||||
public string DbPort { get; init; } = default!;
|
||||
public string DbName { get; init; } = default!;
|
||||
public string DbUser { get; init; } = default!;
|
||||
public string DbPassword { get; init; } = default!;
|
||||
public string DexIssuer { get; init; } = default!;
|
||||
public bool InsecureDevMode { get; init; }
|
||||
public string? InsecureDevEmail { get; init; }
|
||||
|
||||
public string ConnectionString =>
|
||||
$"Host={DbHost};Port={DbPort};Database={DbName};Username={DbUser};Password={DbPassword}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user