Removed old architecture. Added new base project structure
This commit is contained in:
17
Moonlight.ApiServer/Configuration/AppConfiguration.cs
Normal file
17
Moonlight.ApiServer/Configuration/AppConfiguration.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Moonlight.ApiServer.Configuration;
|
||||
|
||||
public class AppConfiguration
|
||||
{
|
||||
public DatabaseConfig Database { get; set; } = new();
|
||||
|
||||
public class DatabaseConfig
|
||||
{
|
||||
public string Host { get; set; } = "your-database-host.name";
|
||||
public int Port { get; set; } = 3306;
|
||||
|
||||
public string Username { get; set; } = "db_user";
|
||||
public string Password { get; set; } = "db_password";
|
||||
|
||||
public string Database { get; set; } = "db_name";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user