Getting Started with VEX
Get up and running with VEX in under 5 minutes.
Prerequisites
- Rust 1.75+ (stable toolchain)
- Git
Installation
Add to Your Project
Code
Clone and Build
Code
Project Structure
Understanding the workspace layout is crucial for effective development:
Code
Quick Example
Code
Running the Demo
Code
Running the API Server
Code
Configuration & Environment
VEX uses dotenv to load configuration. Create a .env file in your project root:
Code
Step-by-Step Setup
-
Install Rust:
Code -
Clone Repository:
Code -
Install Dependencies: (VEX requires
sqlx-clifor database migrations)Code -
Initialize Database:
Code -
Run Tests: Ensure everything is working correctly.
Code
Next Steps
- API Reference — Full Rustdoc documentation
- Examples — More code examples
- Architecture — System design