Svelte Rust Boilerplate screenshot

Svelte Rust Boilerplate

Author Avatar Theme by Lunchboxav
Updated: 20 Sep 2022
10 Stars

boilerplate for developing Svelte app with Rust backend

Overview:

Svelte-Rust-Boilerplate is a quick boilerplate that allows developers to write Svelte apps using Warp, a Rust web framework, as the backend. The Svelte app is bundled with Snowpack and utilizes Snowpack’s dev proxy capability to proxy requests during development to the dev server. This boilerplate aims to provide a seamless development experience for developers using both Svelte and Rust.

Features:

  • Svelte App with Warp Backend: Allows developers to write Svelte apps with a backend built using the Warp web framework in Rust.
  • Bundled with Snowpack: The Svelte app is bundled using Snowpack, providing an optimized and efficient build process.
  • Development Proxy: Utilizes Snowpack’s dev proxy capability to proxy requests during development to the dev server, facilitating a smooth development experience.

Installation:

To install and set up the Svelte-Rust-Boilerplate, follow these steps:

  1. Install Rust and Node on your system.
  2. On the client folder, install the dependencies by running the following command:
npm install
  1. For the server, no separate command is required as the dependencies will be automatically installed.

Summary:

Svelte-Rust-Boilerplate is a boilerplate that combines the Svelte frontend framework with the Warp backend framework in Rust. It provides a straightforward installation process and key features such as Snowpack bundling and a development proxy. This boilerplate is actively maintained and open to contributions from the community.