Añade configuración y conexión a la base de datos

This commit is contained in:
Manuel Cillero 2022-03-10 00:10:48 +01:00
parent b6dd473578
commit 76785af4dc
13 changed files with 210 additions and 83 deletions

View file

@ -1,4 +1,8 @@
#[actix_web::main]
async fn main() -> std::io::Result<()> {
pagetop::core::server::run(None)?.await
// ```
// let app = pagetop::Application::build(None).await?;
// app.run()?.await
// ```
pagetop::Application::build(None).await?.run()?.await
}