Rust web development, front end included

Ruststudio builds full-stack web apps in Rust: an axum back end with a React, Vue, Svelte or Angular front end, a dev proxy with hot reload, a Swagger UI for the API, and a release that is one executable with the website inside.

Updated · describes Ruststudio 0.1.7

Ruststudio editing a Rust project: file explorer, syntax-highlighted code, run and build toolbar, status bar
Ruststudio editing a Rust project: file explorer, syntax-highlighted code, run and build toolbar, status bar

Create an axum backend and a React, Vue, Svelte or Angular front end in one click, run both with a dev proxy, and ship a single executable that contains the website.

What you get

React

axum + React (Vite)

A TypeScript React front end served by an axum API, with a Vite dev server that proxies /api to Rust.

Vue

axum + Vue

Vue 3 on Vite with the same server, tasks and one-executable release.

Svelte

axum + Svelte

Svelte 5 on Vite, wired to the Rust API.

Angular

axum + Angular

Ruststudio runs the Angular CLI for you, then adds the proxy and a fixed output folder so the server can serve the build.

Rust-only

Leptos, Yew and Axum starters

Prefer Rust on both sides? Start from a Leptos or Yew WebAssembly template, or a plain axum server.

Tasks

Install, dev server, build, bundle

Every full-stack template adds solution tasks you run from the Terminal menu. No hunting for npm commands.

Try it

Try full-stack web

An axum back end with the front end of your choice: dev proxy, API calls and the release task.

Ruststudio · Full-stack webInteractive · simulated
Front end
BrowserReact app
dev: :5173 → proxy /api →
axum serverRust · :3000
release: one executable serves both
localhost:5173

Hello from React

  • axum is listening on 127.0.0.1:3000
Tasks
Run a task from the Terminal menu, as in the IDE.

Try it: switch front end, click the button, call the Rust API, then run Install, Dev server and Bundle release.

One executable, website inside

Build the front end, then build the server with the embed feature. The result is one executable that serves your site and your API, with no Node.js on the server and nothing to copy next to it.

During development the server reads the built site from disk and the front end runs on its own dev server with hot reload, so you never wait for a full build to see a change.

  • axum 0.8 on tokio
  • Client-side routes fall back to index.html
  • Set ADDR to choose the address and port
  • The release task builds the front end and the executable together
Ruststudio editing a Rust project: file explorer, syntax-highlighted code, run and build toolbar, status bar
Ruststudio editing a Rust project: file explorer, syntax-highlighted code, run and build toolbar, status bar

Backend and front end in one solution

The web template lives inside a solution, so you can add a shared Rust library, a command-line tool or a worker next to it. Run starts the server; the dev server is a task; Build covers the solution. The AI assistant can see both sides when you @mention the files.

How does it work?

  1. Create

    New Project, Web, choose Rust + React (or Vue, Svelte, Angular).

  2. Install

    Run the Install front end task once (npm install).

  3. Develop

    F5 starts the Rust server; the Front end dev server task starts hot reload with the /api proxy.

  4. Ship

    Run Bundle release for one executable that contains the website.

Frequently asked questions

Something else? Ask in the community forum or send feedback.

Which Rust web framework does Ruststudio use?

The full-stack templates use axum on tokio. There are also Leptos and Yew WebAssembly templates and a plain axum starter.

Which tools and IDE do you need for full-stack Rust web development?

The Rust toolchain (cargo, rust-analyzer), Node.js for a JavaScript front end, and a way to run the back end and the front end dev server together. Ruststudio’s full-stack templates set this up with an axum back end, a dev proxy and a one-executable release.

Can I choose a database, a theme or an admin panel when I create the project?

Yes, in recent versions. The New Project wizard has three rows for the full-stack templates: Admin panel (Basic or None), Theme (Light, Dark, Ocean, Forest, Sunset or Slate) and Database (RaftDB, the free database included with Ruststudio, or In memory). Other databases are added with Tools, Database Connectors.

Do I need Node.js?

For React, Vue, Svelte and Angular front ends, yes, while you develop and build. The finished executable needs nothing.

Can I serve the front end from the Rust binary?

Yes. The release task builds the front end and compiles it into the executable with the embed feature.

Is Ruststudio free?

Yes. Ruststudio is free for personal and commercial use, with no licence key and nothing to pay. Use it for 7 days straight away; after that you sign up for a free account with your e-mail address. It is closed-source freeware.

Who makes Ruststudio?

Ruststudio is a product of FOWLGUARD, Inc., the company behind Fowlguard Secure and Fowlguard Productivity. It is one of its free tools; see fowlguard.com.

Which systems does Ruststudio run on?

Windows 10 and 11 (64-bit), macOS 11 or later (Apple silicon and Intel) and Linux (x86-64, X11 or Wayland). You can build for the desktop, the web and Android from it. Native iOS support is in development and will need a Mac with Xcode.