adds hello world, adds architecture doc

This commit is contained in:
2023-10-17 16:13:55 -04:00
committed by cascode
parent 87492e0e78
commit cef67c7cc5
3 changed files with 27 additions and 0 deletions

11
src/main.rs Normal file
View File

@ -0,0 +1,11 @@
use warp::Filter;
#[tokio::main]
async fn main() {
let hello = warp::get()
.map(|| format!("Hello world!"));
warp::serve(hello)
.run(([127, 0, 0, 1], 5309))
.await;
}