Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

A .NET 10 Minimal API starter, so you can skip the boilerplate

Description and use

A .NET 10 minimal API starter template reduces boilerplate, offering authentication, validation, logging, Docker, tests, and CI out of the box.

Problem

Starting a new .NET API requires repetitive boilerplate for authentication, error handling, validation, logging, Docker, tests and CI.

Outcome

The template reduces setup time, provides a learning reference, and includes essential infrastructure for a minimal API.

Workflow

  • Create a new project from the template via GitHub "Use this template" button
  • Run "docker compose up --build" to start services
  • Run "dotnet test" for integration tests against in‑memory SQLite
  • Add new features by copying existing feature files and updating the DbContext
  • Commit changes and push to trigger GitHub Actions CI

Evidence

Starting a new .NET API means spending hours on the same setup before you write the first useful line: authentication, error handling, validation, logging, Docker, tests and CI.

Source

I packaged it into a template and put it on GitHub for anyone who wants to skip that part.

Source

Minimal APIs organized by feature with MapGroup

Source

Integration tests that don't need Docker. They run against in-memory SQLite, so dotnet test works on a fresh machine.

Source

Any authenticated user can update or delete any product.

Source

Tokens last 60 minutes with no refresh or revocation.

Source

  • Record date: 2026-10-12T16:55:55.532Z