Installation

Install Prax and set up your development environment.

Requirements

  • Rust 1.85+ (Edition 2024)
  • Cargo package manager
  • A supported database (PostgreSQL, MySQL, or SQLite)

Install the CLI

Install the Prax CLI tool for schema management and code generation:

Add Dependencies

Add Prax to your Cargo.toml:

PostgreSQL

MySQL

SQLite

Feature Flags

Feature Description
postgres PostgreSQL driver support
mysql MySQL driver support
sqlite SQLite driver support
serde Enable serde serialization for models
graphql Generate async-graphql compatible types