WIP
This commit is contained in:
0
.editorconfig
Normal file → Executable file
0
.editorconfig
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.vscode/settings.json
vendored
Normal file → Executable file
0
.vscode/settings.json
vendored
Normal file → Executable file
7
CLAUDE.md
Normal file → Executable file
7
CLAUDE.md
Normal file → Executable file
@@ -24,10 +24,17 @@ MicCheck: open source. asp.net, c#, typescript, VueJS. Manages feature flags, pr
|
||||
# Coding
|
||||
- Descriptive names for all classes/methods. No generic names: Provider, Manager, Helper
|
||||
- Match formatting/style from `.editorconfig`
|
||||
- Wrap lines at 220 characters, leave single line if fewer
|
||||
- Place interfaces that are implemented by a single class at the bottom of the class file. An interface with multiple implementations of an interface should be in a seperate file.
|
||||
- Do not use tuples for return types. Prefer records or classes for multiple values
|
||||
- Do not use `sealed` on classes-
|
||||
- Use `record` for data objects, `class` for objects with behavior. Avoid mutable state where possible.
|
||||
|
||||
## Testing
|
||||
- BDD-style unit tests, end-to-end as possible, no external resources (DB, filesystem). e.g. `WhenAUserDoesSomething_ThenAThingAppears`
|
||||
- Mock external deps with Moq
|
||||
- New features need unit tests covering as much logic as possible
|
||||
- Any modified file: evaluate for missing test coverage-
|
||||
- No "Mock" in mocked object names
|
||||
- No Arrange/Act/Assert comments
|
||||
|
||||
|
||||
0
CLAUDE.original.md
Normal file → Executable file
0
CLAUDE.original.md
Normal file → Executable file
0
MicCheck.slnx
Normal file → Executable file
0
MicCheck.slnx
Normal file → Executable file
0
dev-build.sh
Normal file → Executable file
0
dev-build.sh
Normal file → Executable file
0
docker-compose.yml
Normal file → Executable file
0
docker-compose.yml
Normal file → Executable file
0
docs/admin/00-New-Website-output.md
Normal file → Executable file
0
docs/admin/00-New-Website-output.md
Normal file → Executable file
0
docs/admin/00-New-Website.md
Normal file → Executable file
0
docs/admin/00-New-Website.md
Normal file → Executable file
0
docs/admin/01-admin-site_plan.md
Normal file → Executable file
0
docs/admin/01-admin-site_plan.md
Normal file → Executable file
0
docs/api/00 - new-aspnet-project.md
Normal file → Executable file
0
docs/api/00 - new-aspnet-project.md
Normal file → Executable file
0
docs/api/00-output.md
Normal file → Executable file
0
docs/api/00-output.md
Normal file → Executable file
0
docs/api/01_project_setup.md
Normal file → Executable file
0
docs/api/01_project_setup.md
Normal file → Executable file
0
docs/api/01_project_setup_output.md
Normal file → Executable file
0
docs/api/01_project_setup_output.md
Normal file → Executable file
0
docs/api/02_core_domain_models.md
Normal file → Executable file
0
docs/api/02_core_domain_models.md
Normal file → Executable file
0
docs/api/02_core_domain_models_output.md
Normal file → Executable file
0
docs/api/02_core_domain_models_output.md
Normal file → Executable file
0
docs/api/03_database_and_repositories.md
Normal file → Executable file
0
docs/api/03_database_and_repositories.md
Normal file → Executable file
0
docs/api/03_database_and_repositories_output.md
Normal file → Executable file
0
docs/api/03_database_and_repositories_output.md
Normal file → Executable file
0
docs/api/04_authentication_and_authorization.md
Normal file → Executable file
0
docs/api/04_authentication_and_authorization.md
Normal file → Executable file
0
docs/api/04_authentication_and_authorization_output.md
Normal file → Executable file
0
docs/api/04_authentication_and_authorization_output.md
Normal file → Executable file
0
docs/api/05_flags_api.md
Normal file → Executable file
0
docs/api/05_flags_api.md
Normal file → Executable file
0
docs/api/05_flags_api_output.md
Normal file → Executable file
0
docs/api/05_flags_api_output.md
Normal file → Executable file
0
docs/api/06_admin_api.md
Normal file → Executable file
0
docs/api/06_admin_api.md
Normal file → Executable file
0
docs/api/06_admin_api_output.md
Normal file → Executable file
0
docs/api/06_admin_api_output.md
Normal file → Executable file
0
docs/api/07_audit_and_webhooks.md
Normal file → Executable file
0
docs/api/07_audit_and_webhooks.md
Normal file → Executable file
0
docs/api/07_audit_and_webhooks_output.md
Normal file → Executable file
0
docs/api/07_audit_and_webhooks_output.md
Normal file → Executable file
0
docs/api/08_testing_strategy.md
Normal file → Executable file
0
docs/api/08_testing_strategy.md
Normal file → Executable file
0
dotnet-install.sh
vendored
Normal file → Executable file
0
dotnet-install.sh
vendored
Normal file → Executable file
0
dotnet-tools.json
Normal file → Executable file
0
dotnet-tools.json
Normal file → Executable file
8
src/MicCheck.AppHost/AppHost.cs
Normal file → Executable file
8
src/MicCheck.AppHost/AppHost.cs
Normal file → Executable file
@@ -1,13 +1,9 @@
|
||||
var builder = DistributedApplication.CreateBuilder(args);
|
||||
|
||||
var postgres = builder.AddPostgres("postgres")
|
||||
.WithDataVolume("miccheck-pgdata")
|
||||
.WithPgAdmin();
|
||||
var postgres = builder.AddPostgres("postgres").WithDataVolume("miccheck-pgdata").WithPgAdmin();
|
||||
|
||||
var miccheckDb = postgres.AddDatabase("miccheck");
|
||||
|
||||
builder.AddProject<Projects.MicCheck_Api>("api")
|
||||
.WithReference(miccheckDb)
|
||||
.WaitFor(miccheckDb);
|
||||
builder.AddProject<Projects.MicCheck_Api>("api").WithReference(miccheckDb).WaitFor(miccheckDb);
|
||||
|
||||
builder.Build().Run();
|
||||
|
||||
1
src/MicCheck.AppHost/MicCheck.AppHost.csproj
Normal file → Executable file
1
src/MicCheck.AppHost/MicCheck.AppHost.csproj
Normal file → Executable file
@@ -5,6 +5,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Aspire.Hosting.JavaScript" Version="13.4.2" />
|
||||
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="13.4.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
0
src/MicCheck.AppHost/Properties/launchSettings.json
Normal file → Executable file
0
src/MicCheck.AppHost/Properties/launchSettings.json
Normal file → Executable file
0
src/MicCheck.AppHost/appsettings.Development.json
Normal file → Executable file
0
src/MicCheck.AppHost/appsettings.Development.json
Normal file → Executable file
0
src/MicCheck.AppHost/appsettings.json
Normal file → Executable file
0
src/MicCheck.AppHost/appsettings.json
Normal file → Executable file
0
src/MicCheck.AppHost/aspire.config.json
Normal file → Executable file
0
src/MicCheck.AppHost/aspire.config.json
Normal file → Executable file
0
src/MicCheck.ServiceDefaults/Extensions.cs
Normal file → Executable file
0
src/MicCheck.ServiceDefaults/Extensions.cs
Normal file → Executable file
0
src/MicCheck.ServiceDefaults/MicCheck.ServiceDefaults.csproj
Normal file → Executable file
0
src/MicCheck.ServiceDefaults/MicCheck.ServiceDefaults.csproj
Normal file → Executable file
0
src/admin/.dockerignore
Normal file → Executable file
0
src/admin/.dockerignore
Normal file → Executable file
0
src/admin/Admin.esproj
Normal file → Executable file
0
src/admin/Admin.esproj
Normal file → Executable file
0
src/admin/Dockerfile
Normal file → Executable file
0
src/admin/Dockerfile
Normal file → Executable file
0
src/admin/babel.config.js
Normal file → Executable file
0
src/admin/babel.config.js
Normal file → Executable file
0
src/admin/index.html
Normal file → Executable file
0
src/admin/index.html
Normal file → Executable file
0
src/admin/jest.config.js
Normal file → Executable file
0
src/admin/jest.config.js
Normal file → Executable file
0
src/admin/nginx.conf
Normal file → Executable file
0
src/admin/nginx.conf
Normal file → Executable file
0
src/admin/package-lock.json
generated
Normal file → Executable file
0
src/admin/package-lock.json
generated
Normal file → Executable file
0
src/admin/package.json
Normal file → Executable file
0
src/admin/package.json
Normal file → Executable file
0
src/admin/src/@core/components/MoreBtn.vue
Normal file → Executable file
0
src/admin/src/@core/components/MoreBtn.vue
Normal file → Executable file
0
src/admin/src/@core/components/ThemeSwitcher.vue
Normal file → Executable file
0
src/admin/src/@core/components/ThemeSwitcher.vue
Normal file → Executable file
0
src/admin/src/@core/components/cards/CardStatisticsHorizontal.vue
Normal file → Executable file
0
src/admin/src/@core/components/cards/CardStatisticsHorizontal.vue
Normal file → Executable file
0
src/admin/src/@core/components/cards/CardStatisticsVertical.vue
Normal file → Executable file
0
src/admin/src/@core/components/cards/CardStatisticsVertical.vue
Normal file → Executable file
0
src/admin/src/@core/components/cards/CardStatisticsWithImages.vue
Normal file → Executable file
0
src/admin/src/@core/components/cards/CardStatisticsWithImages.vue
Normal file → Executable file
0
src/admin/src/@core/scss/base/_components.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_components.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_dark.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_dark.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_default-layout-w-vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_default-layout-w-vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_default-layout.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_default-layout.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_layouts.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_layouts.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_misc.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_misc.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_mixins.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_mixins.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_utilities.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_utilities.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_utils.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_utils.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/_vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/_perfect-scrollbar.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/_perfect-scrollbar.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/vuetify/_index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/vuetify/_index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/vuetify/_overrides.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/vuetify/_overrides.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/vuetify/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/libs/vuetify/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_default-layout-vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_default-layout-vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_default-layout.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_default-layout.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_misc.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_misc.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/base/placeholders/_vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_default-layout-w-vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_default-layout-w-vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_mixins.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_mixins.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_utilities.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_utilities.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_utils.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_utils.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/_vertical-nav.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/index.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/apex-chart.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/apex-chart.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/_overrides.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/_overrides.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/_variables.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_alert.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_alert.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_avatar.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_avatar.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_badge.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_badge.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_button.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_button.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_cards.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_cards.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_checkbox.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_checkbox.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_chip.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_chip.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_dialog.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_dialog.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_expansion-panels.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_expansion-panels.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_field.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_field.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_list.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_list.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_menu.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_menu.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_otp-input.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_otp-input.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_pagination.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_pagination.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_progress.scss
Normal file → Executable file
0
src/admin/src/@core/scss/template/libs/vuetify/components/_progress.scss
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user