Anatolii Grynchuk
6a31f380a2
chore: add Dockerfiles for Api and Worker
...
- Api: mcr.microsoft.com/dotnet/aspnet:10.0 base, exposes 8080
- Worker: mcr.microsoft.com/dotnet/runtime:10.0 base (no HTTP stack)
- Both use multi-stage build with layer-cached csproj restore
- .dockerignore excludes bin/obj/git/IDE folders
- Dockerfiles added to /docker/ solution folder
Ref: IT-628
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-02 01:33:22 +03:00
Anatolii Grynchuk
ae724e4aee
chore: add docker compose files and solution folder
...
- docker/environments/docker-compose.yml: base Api + Worker service definitions
- docker/environments/docker-compose.Development.yml: local PostgreSQL + Seq + port mappings
- Solution folder /docker/ in .slnx for IDE access
Ref: IT-628
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-02 01:31:40 +03:00
Anatolii Grynchuk
ed4a6578c3
refactor: restructure solution to match ItemTracker layered architecture
...
- Remove Core (replaced by dedicated layers)
- Add DAL.Abstract (domain model + repository interfaces)
- Add DAL.EF (EF context, entities, migrations — references DAL.Abstract)
- Add Services (business logic — references DAL.Abstract only, not DAL.EF)
- Api and Worker reference Services + DAL.EF for DI wiring
- Replace Core.Tests with Services.Tests
- Dependency boundary enforced: Services never references DAL.EF
Ref: IT-628
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-01 19:17:26 +03:00
Anatolii Grynchuk
8aee35c123
chore: scaffold solution with Core, Api, Worker and test projects
...
- HrynCo.NotificationService.Core (class library)
- HrynCo.NotificationService.Api (ASP.NET Core Web API)
- HrynCo.NotificationService.Worker (Worker Service)
- HrynCo.NotificationService.Core.Tests (xUnit)
- HrynCo.NotificationService.Api.IntegrationTests (xUnit)
- Api and Worker reference Core
- Test projects reference their respective targets
Ref: IT-628
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-01 18:54:38 +03:00