Skip to main content

build_state_from_env

Function build_state_from_env 

Source
pub async fn build_state_from_env(config: AppConfig) -> Result<AppState>
Expand description

Build state for the standalone server.

Creates the PgPool, runs migrations, and wires repositories/services.