A full-stack application with a Rust backend and a frontend application.
Before you begin, ensure you have the following installed:
- Rust - The Rust programming language and Cargo package manager
- cargo-component - A Cargo subcommand for building WebAssembly components
- pnpm - A fast, disk space efficient package manager for Node.js
-
Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
Install cargo-component:
cargo install cargo-component
-
Install pnpm:
npm install -g pnpm
The project uses just as a command runner. Here are the available commands:
To verify all required dependencies are installed:
just doctorTo start both the frontend and backend development servers:
just devThis will:
- Start the frontend development server (in the
appdirectory) - Start the Rust backend server with hot-reloading enabled
app/- Frontend applicationserver/- Rust backend server