vuj.io

/vu-hē-oʊ/

Description

An experimental fast and pertinent web platform for modern devices.
Rust backend and TypeScript frontend.

See https://github.com/vujio/vujio

Example: ``` use vujio::*;

[server("127.0.0.1:8080")]

async fn main() { #[gethtml("/")] async fn main(req: Request) -> String { let directorylinks = ["testpath"].map(|v| format!("{}", v, v)); let directorylist = format!("

Directory:

", directorylinks.join(""));

    format!(
        "Pages:<br>{}", directory_list
    )
}

#[get_html]
async fn test_path(_req: Request<AppState>) -> String {
    "Page: /test_path".into()
}

}