Function create_rust_app::setup

source ·
pub fn setup() -> AppData
Expand description

ensures required environment variables are present,

initialize a Mailer, Database, and Storage (is Storage plugin was enabled (“plugin_storage” feature enabled))

and wraps them in a AppData struct that is then returned