pub fn create_app(app_state: AppState) -> App<AppState>
creates and returns the app after mounting all routes/resources