first commit

This commit is contained in:
2026-07-09 10:02:08 +05:30
commit 438ab2cdbd
27 changed files with 2164 additions and 0 deletions
@@ -0,0 +1,21 @@
using Microsoft.AspNetCore.Mvc;
namespace ERPCore.Controllers;
/// <summary>
/// Non-domain metadata endpoint. Confirms the controller pipeline, Swagger and
/// routing are wired; domain endpoints are defined per docs/11-BACKEND-PHASE1.md.
/// </summary>
[ApiController]
[Route("api/[controller]")]
public sealed class MetaController : ControllerBase
{
[HttpGet]
public IActionResult Get() => Ok(new
{
name = "ERPCore API",
phase = "Phase 1 — Inventory & Supply Chain",
version = "v1",
utc = DateTime.UtcNow
});
}