Designed for full stack web
Ship backend handlers, shared domain logic, and frontend views with one language model and one type system.
- Compile to WebAssembly for browser, server, edge, and worker runtimes.
- Keep API contracts and UI model types aligned across the stack.
- Compose by modules and package exports, not framework magic.
use src::web::routes::all
use src::web::ui::all
pub fn main() -> void
let app = WebApp::new()
app.route("GET", "/", handler: render_home)
app.route("GET", "/api/projects", handler: list_projects)
app.listen(port: 8080)
fn Home() -> Html
// Built in html support
<div>
<h1>Hello, World></h1>
<p>Welcome to voyd.</p>
</div>