svelte-rust-boilerplate

Svelte Rust Boilerplate

boilerplate for developing Svelte app with Rust backend

svelte-rust-boilerplate

A quick boilerplate to write Svelte app using Warp, a Rust web framework as the backend. The Svelte app is bundled with Snowpack. It also uses Snowpack's dev proxy capability to proxy request during development to dev server.

Installation

Install Rust, and node. To install dependencies for client, go to client folder and run

npm install

For server, no separate command is required.

Development

To run the code in development, execute the following command

yarn run dev:server
yarn run dev:client

Server will run in port 3030. Client app will run in port 8080.

Build

TODO

Ideas

Feel free to contribute to the project by writing issues or PR. I'm maintaining this on my free time to answer some personal questions, so would love to collaborate with like minded people 😄

Top categories

Loading Svelte Themes