Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.26 KB

File metadata and controls

60 lines (38 loc) · 1.26 KB

Flow

A full-stack application with a Rust backend and a frontend application.

Prerequisites

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

Installation

  1. Install Rust:

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Install cargo-component:

    cargo install cargo-component
  3. Install pnpm:

    npm install -g pnpm

Development

The project uses just as a command runner. Here are the available commands:

Check Dependencies

To verify all required dependencies are installed:

just doctor

Start Development Servers

To start both the frontend and backend development servers:

just dev

This will:

  • Start the frontend development server (in the app directory)
  • Start the Rust backend server with hot-reloading enabled

Project Structure

  • app/ - Frontend application
  • server/ - Rust backend server