flowchart TB
developer([Developer])
subgraph local[Current local development environment]
apphost[AppHost
Aspire orchestration]
web[Web
Blazor placeholder page]
api[API
ASP.NET Core foundation endpoint]
bot[Discord bot host
Worker logs startup only]
db[(PostgreSQL
Local development resource)]
end
developer -->|starts local environment
dotnet run| apphost
developer -->|opens placeholder
browser| web
developer -->|checks foundation endpoint
HTTP| api
apphost -->|starts process| web
apphost -->|starts process| api
apphost -->|starts process| bot
apphost -->|provisions resource| db
web -->|receives API service reference
Aspire configuration only| api
bot -->|receives API service reference
Aspire configuration only| api
api -->|receives database reference
Aspire configuration only| db
classDef person fill:#fce5cd,stroke:#b45f06,stroke-width:1px,color:#000
classDef internal fill:#cfe2f3,stroke:#2c5aa0,stroke-width:1px,color:#000
class developer person
class apphost,web,api,bot,db internal