adds hello world, adds architecture doc

This commit is contained in:
Sundog
2023-10-17 16:13:55 -04:00
parent ea6eb8ebc9
commit 60cc6cc9e0
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;
}