add dotnet backend

This commit is contained in:
2025-10-02 15:19:15 +05:00
parent 67f292cd60
commit 109629c6f9
12 changed files with 347 additions and 4 deletions

View 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}";
}