pub async fn build_state_from_env(config: AppConfig) -> Result<AppState>
Build state for the standalone server.
Creates the PgPool, runs migrations, and wires repositories/services.
PgPool