Scaffolded project
This commit is contained in:
commit
17a561094a
123 changed files with 64313 additions and 0 deletions
10
Configuration/MongoDbOptions.cs
Normal file
10
Configuration/MongoDbOptions.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace WorkTracker.Configuration;
|
||||
|
||||
public sealed class MongoDbOptions
|
||||
{
|
||||
public const string SectionName = "MongoDb";
|
||||
|
||||
public string ConnectionString { get; init; } = "mongodb://localhost:27017";
|
||||
|
||||
public string DatabaseName { get; init; } = "worktracker";
|
||||
}
|
||||
12
Configuration/SingleUserOptions.cs
Normal file
12
Configuration/SingleUserOptions.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace WorkTracker.Configuration;
|
||||
|
||||
public sealed class SingleUserOptions
|
||||
{
|
||||
public const string SectionName = "SingleUser";
|
||||
|
||||
public bool SeedOnStartup { get; init; } = true;
|
||||
|
||||
public string Email { get; init; } = "admin@worktracker.local";
|
||||
|
||||
public string Password { get; init; } = "ChangeThis!123";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue