aboutsummaryrefslogtreecommitdiff
path: root/backend/src/main.rs
blob: fd0ff2eb02aa454ccba71311cff92b3e6e0f5a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![feature(proc_macro_hygiene, decl_macro)]

#[macro_use]
extern crate rocket;
#[macro_use]
extern crate rocket_contrib;

#[get("/")]
fn index() -> &'static str {
    "Hello, world!"
}

fn main() {
    rocket::ignite().mount("/", routes![index]).launch();
}