Skip to main content

Prerequisites

  • Rust (latest stable)
  • PostgreSQL (14 or later)
  • Docker (optional)
  • Git
The fastest way to get started:
The server will be running at http://localhost:3000.

Option 2: Manual Setup

1. Install Rust

2. Install PostgreSQL

macOS:
Ubuntu:
Windows: Download from postgresql.org

3. Setup Database

4. Configure Environment

Create .env file:

5. Build and Run

Verify Installation

Development Workflow

Watch Mode

Automatically rebuild on changes:

Run Tests

Database Migrations

Common Issues

Database Connection Failed

Compilation Errors

SQLx Compile-time Errors

Next Steps

Configuration

Learn about environment variables and configuration