mod actors; mod logic; mod model; mod routes; use actix_web::{App, HttpServer}; #[actix_web::main] // or #[tokio::main] async fn main() -> std::io::Result<()> { HttpServer::new(|| App::new().configure(routes::configure)) .bind(("127.0.0.1", 8080))? .run() .await }