b4a666ebf051b03d3b28a3be420bd2d0ad453260
Extract IMicCheckDbContext so DB access can be mocked with Moq instead of the InMemory provider, per project testing guidelines. Add shared async DbSet test doubles (TestSupport/) to back the mocks. Rewrite HTTP-pipeline tests (WebApplicationFactory) to exercise controllers and auth handlers directly instead of running the web server. Drop DbContext/seeder tests that only made sense against a real provider, and remove stale duplicate test files left over from a namespace move.
MicCheck
Open source feature flag management platform. Manage projects, environments, feature flags, segments, and identities across your apps.
Built with .NET (API) and Vue.js + Vuetify (admin UI).
Structure
src/
api/MicCheck.Api/ .NET API — REST endpoints, organized by feature (Features, Projects, Environments,
Segments, Identities, Organizations, Webhooks, Audit, Users)
admin/ Vue.js + Vuetify admin SPA
MicCheck.AppHost/ .NET Aspire orchestration host for local dev
MicCheck.ServiceDefaults/ Shared .NET Aspire service defaults (telemetry, health checks)
tests/
api/MicCheck.Api.Tests.Unit/ Unit tests
api/MicCheck.Api.Tests.Integration/ Integration tests
docs/
admin/ Admin implementation plans/output docs
api/ API implementation plans/output docs
Code in the API is organized by feature area (e.g. Features, Segments, Identities) rather than by technical layer.
Running locally
docker-compose.yml provides supporting services. MicCheck.AppHost (.NET Aspire) orchestrates the API and admin app for local development.
./dev-build.sh
Testing
dotnet test
License
MIT — see LICENSE.
Languages
C#
36.2%
Vue
30.3%
TypeScript
15.6%
SCSS
15.2%
JavaScript
1.4%
Other
1.3%