🎯

test-backend-units

🎯Skill

from marcelmichau/fake-survey-generator

VibeIndex|
What it does

test-backend-units skill from marcelmichau/fake-survey-generator

test-backend-units

Installation

Install skill:
npx skills add https://github.com/marcelmichau/fake-survey-generator --skill test-backend-units
4
AddedJan 29, 2026

Skill Details

SKILL.md

Overview

Logo by Undraw

Fake Survey Generator

This is an app. That generates surveys. Fake ones. For fun. That is all.

[![Build Status](https://dev.azure.com/marcelmichau/Personal/_apis/build/status/fake-survey-generator/fake-survey-generator?branchName=main)](https://dev.azure.com/marcelmichau/Personal/_build/latest?definitionId=26&branchName=main)

[Open in github.dev](https://github.dev/MarcelMichau/fake-survey-generator)

Screenshot

![Screenshot](images/screenshot.png "Screenshot of Fake Survey Generator UI")

What is this?

This is a .NET | C# | React | TypeScript full-stack application of moderate complexity (not just a to-do app), used as a

playground for experimentation. Simply put: This is where I mess around with code. It is heavily inspired by

the [.NET Microservices: Architecture for Containerized .NET Applications](https://docs.microsoft.com/en-us/dotnet/architecture/microservices/)

book, as well as its companion reference

application [eShopOnAzure](https://github.com/Azure-Samples/eShopOnAzure). It also incorporates various

elements from different repos & blog posts which served as inspiration.

It is built using Vertical Slice Architecture principles with CQRS (Command Query Responsibility Segregation) and DDD (Domain-Driven Design) thrown into the mix. It doesn't follow these principles to the letter, but provides a decent

example of how to apply the basics of these principles.

It is heavily centered around the

Microsoft [.NET](https://dotnet.microsoft.com/) + [Azure](https://azure.microsoft.com/) technology stacks as these are

what I have the most experience in & just like building things with. πŸ˜€

Here are some of the features incorporated into this project:

Application Features

  • Observable, production ready, distributed application support

using [Aspire](https://aspire.dev/)

  • Unit & Integration tests for a CQRS/DDD project with [TUnit](https://tunit.dev)
  • Target production database for integration tests

using [Testcontainers for .NET](https://github.com/testcontainers/testcontainers-dotnet)

  • E2E acceptance tests

using [Aspire Test Projects](https://aspire.dev/testing/overview/) & [Playwright for .NET](https://playwright.dev/dotnet/)

  • Implementing health checks for various components

using [AspNetCore.Diagnostics.HealthChecks](https://github.com/Xabaril/AspNetCore.Diagnostics.HealthChecks)

  • Adding [OpenAPI](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/overview) to an ASP.NET Core Web API

with [Scalar](https://github.com/scalar/scalar) for API documentation

  • Adding [OpenID Connect](https://openid.net/connect/) for Authentication
  • Adding OpenID Connect to Scalar
  • Securing an ASP.NET Core Web API using JWT Bearer authentication
  • Adding security headers to API responses

using [NetEscapades.AspNetCore.SecurityHeaders](https://github.com/andrewlock/NetEscapades.AspNetCore.SecurityHeaders)

  • Using [Hosted Services](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/host/hosted-services) in ASP.NET

Core Web API

  • Using a distributed [Redis](https://redis.io/) cache
  • Using [Microsoft.Extensions.Http.Resilience](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.http.resilience) for resilient HTTP requests
  • Implementing [Forwarded Headers](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balancer) for hosting ASP.NET Core Web API behind a load balancer
  • Validation of commands using [FluentValidation](https://fluentvalidation.net/)
  • Configuring [Azure Monitor OpenTelemetry](https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-enable) for telemetry
  • Using [Dapr](https://dapr.io/) with [Dapr SDK for .NET](https://github.com/dapr/dotnet-sdk) for platform agnostic

int