Get up and running with Prax in under 5 minutes.
Add Prax and Tokio to your Cargo.toml:
Create a prax/schema.prax file:
Create a prax.toml configuration file in your project root:
📖 Learn more: See the Configuration Reference for all available options including connection pooling, environment overrides, and debug settings.
Run the Prax CLI to generate type-safe client code:
This generates Rust code in src/generated/
with type-safe models and query builders.
Create and apply database migrations:
Import the generated client and start querying: