An error occurred while loading the file. Please try again.
Forked from
Revolt / Server
317 commits behind the upstream repository.
main.rs 287 B
#![feature(proc_macro_hygiene, decl_macro)]
#[macro_use] extern crate rocket;
#[macro_use] extern crate rocket_contrib;
pub mod database;
pub mod routes;
pub mod auth;
use dotenv;
fn main() {
dotenv::dotenv().ok();
database::connect();
routes::mount(rocket::ignite()).launch();
}