forked from jmug/stoatchat
Initial Commit
This commit is contained in:
14
src/main.rs
Normal file
14
src/main.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#![feature(proc_macro_hygiene, decl_macro)]
|
||||
#[macro_use] extern crate rocket;
|
||||
|
||||
pub mod database;
|
||||
pub mod routes;
|
||||
|
||||
use dotenv;
|
||||
|
||||
fn main() {
|
||||
dotenv::dotenv().ok();
|
||||
database::connect();
|
||||
|
||||
routes::mount(rocket::ignite()).launch();
|
||||
}
|
||||
Reference in New Issue
Block a user