moves API logic inside its own module

This commit is contained in:
2019-10-17 12:56:07 +02:00
parent 3cc45397da
commit 185e1403e3
6 changed files with 252 additions and 196 deletions

View File

@@ -2,9 +2,10 @@ extern crate actix_web;
extern crate dotenv;
extern crate env_logger;
extern crate lootalot_db;
extern crate serde;
#[macro_use] extern crate serde;
mod server;
mod api;
fn main() {
std::env::set_var("RUST_LOG", "actix_web=info");