Files
GymLogAI/AGENTS.md
T
2026-04-19 12:38:51 +03:00

1.3 KiB

AGENTS.md

Shared rules for all AI agents working in this repository.

Tech Stack

  • .NET 10.0 — ASP.NET Core minimal APIs
  • C# — primary language
  • Docker / Docker Compose — containerization

Commands

# Build
dotnet build

# Run (development)
dotnet run --project GymLogAI.API/

# Run with HTTPS profile
dotnet run --project GymLogAI.API/ --launch-profile https

# Docker Compose
docker compose -f compose.yaml up --build

No test project exists yet. When one is added, the command will be dotnet test.

Project Structure

GymLogAI.sln
GymLogAI.API/
  Program.cs          # entry point, minimal API endpoint registration
  appsettings*.json   # environment-specific config
  Dockerfile          # multi-stage build (SDK 10 → Runtime 10)
compose.yaml          # Docker Compose orchestration

Architecture

  • Minimal API pattern — endpoints registered directly in Program.cs
  • Ports: HTTP 5202 (local), HTTPS 7225 (local); 8080/8081 inside Docker
  • OpenAPI enabled via Microsoft.AspNetCore.OpenApi

Conventions

  • Keep endpoints in Program.cs until the project grows enough to warrant endpoint groups or controllers
  • Use records for DTOs
  • Follow existing appsettings.json / appsettings.Development.json split for environment config