From 426e83ec6fba028692bed334803ae9d3a645cb18 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 11 Apr 2022 19:01:42 +0300 Subject: [WIP] Spring cleaning --- src/bin/main.rs | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/bin/main.rs (limited to 'src/bin/main.rs') diff --git a/src/bin/main.rs b/src/bin/main.rs deleted file mode 100644 index f1fa908..0000000 --- a/src/bin/main.rs +++ /dev/null @@ -1,15 +0,0 @@ -use gradecoin::routes::consensus_routes; -use gradecoin::schema::create_database; - -#[tokio::main] -async fn main() { - log4rs::init_file("log.conf.yml", Default::default()).unwrap(); - - let db = create_database(); - - let api = consensus_routes(db); - - // Start the server - let point = ([127, 0, 0, 1], 8080); - warp::serve(api).run(point).await; -} -- cgit v1.2.3-70-g09d2