create-ruxum-app is an interactive CLI that scaffolds production-ready applications with a Rust/Axum backend, a Next.js frontend, or both — in seconds.

Visual Blueprint

Explore how the different layers of a Ruxum application fit together. Hover over any component to see its role in the architecture.

JSFrontend (Next.js)RSBackend (Axum)DBDatabase (SQLx/SeaORM)AUAuth (JWT)
Hover over a component in the blueprint to explore the architecture...

The problem it solves

Starting a modern Rust web server involves a lot of decisions and boilerplate before you write a single line of business logic:

  • Choose a framework (Axum, Actix, Warp…)
  • Set up async runtime (Tokio)
  • Configure structured logging (tracing)
  • Handle environment variables (dotenvy, config)
  • Pick a database layer (SQLx or SeaORM)
  • Configure CORS and request tracing middleware
  • Optionally wire up JWT authentication

create-ruxum-app makes all of these decisions for you — and lets you opt in or out interactively. The result is a project that already follows production conventions on day one.

What you can scaffold

Scaffold typeWhat you get
Rust Axum APIAsync Rust web server with your chosen database and optional JWT auth
Next.js AppNext.js 15 with App Router, TypeScript, and optional Tailwind CSS
Full-stackBoth wired up together

Tech stack

Backend (Rust)

LibraryRole
AxumWeb framework
TokioAsync runtime
SQLxAsync, compile-time SQL
SeaORMAsync dynamic ORM (alternative)
tracing + tracing-subscriberStructured logging
dotenvy + configEnvironment configuration
thiserror + anyhowTyped error handling
tower-httpCORS, request tracing middleware

Frontend (Next.js)

LibraryRole
Next.js 15React framework with App Router
TypeScriptType-safe frontend
Tailwind CSSUtility-first styling (optional)