feat(services): Add nixcon-demo service with simple web server

This commit is contained in:
Vincent Ambo 2019-10-26 13:27:56 +02:00
parent 2be1fff251
commit 8ffe811d46
5 changed files with 922 additions and 0 deletions

View file

@ -0,0 +1,8 @@
use std::io;
use rouille::Response;
fn main() {
rouille::start_server("0.0.0.0:8080", move |req| {
rouille::log(req, io::stdout(), || Response::text("Haló NixCon!"))
})
}