---
config:
flowchart:
curve: stepAfter
layout: elk
---
flowchart TB
API["API.Core
(ASP.NET Core Web API)"]
Seed["Database.Seed
(console app)"]
Migrations["Database.Migrations
(console app)"]
subgraph SLICES["Feature Slices"]
direction LR
UsersSlice["Features.Users
(controller)"]
BrewerySlice["Features.Breweries
(controller)"]
PhotoSlice["Features.PhotoUpload
(MediatR only)"]
EmailsSlice["Features.Emails
(MediatR only)"]
LocationsSlice["Features.Locations
(plain DI service)"]
BeersSlice["Features.Beers
(scaffolded, no code yet)"]
end
API -->|AddApplicationPart + MediatR scan| UsersSlice
API -->|AddApplicationPart + MediatR scan| BrewerySlice
API -->|MediatR scan only| PhotoSlice
API -->|MediatR scan only| EmailsSlice
Seed -->|AddFeaturesUsers| UsersSlice
Seed -->|AddFeaturesBreweries| BrewerySlice
Seed -->|AddFeaturesPhotoUpload| PhotoSlice
Seed -->|AddFeaturesLocations| LocationsSlice