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

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

Описание и применение

Шаблон минимального API для .NET 10 ускоряет настройку, предоставляя готовую инфраструктуру и тесты.

Задача

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

Результат

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

Рабочий процесс

  • 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

Доказательства

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.

Источник

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

Источник

Minimal APIs organized by feature with MapGroup

Источник

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

Источник

Any authenticated user can update or delete any product.

Источник

Tokens last 60 minutes with no refresh or revocation.

Источник

  • Дата записи: 2026-10-12T16:55:55.532Z