rust-svelte-webapp Svelte Themes

Rust Svelte Webapp

A template for a Svelte-based website, with an integrated Rust API server. Bundled into a single binary for deployment.

At current, generic handling is present in both the frontend and backend API handlers for usage. This uses a generic object:

{
    success: bool,
    error_message: Option<String>,
    data: Option<Any> // {...}
}

to wrap all web-requests between the front and back end.

Alternatively, this commit can be cloned to use the pre-api handling template.

Top categories

Loading Svelte Themes