Quick Start
Quick Start
Prerequisites
- Rust 1.85+ (stable)
- PostgreSQL 16 with PostGIS
- Docker and Docker Compose
- Node.js 22+ (for frontend)
Clone and Build
git clone https://forgejo.wyattau.com/BlocMarket/BlocMarket_app.gitcd BlocMarket_appmake hooksmake db-startmake apiEnvironment Variables
Copy .env.example to .env and configure:
| Variable | Description | Default |
|---|---|---|
DATABASE_URL | PostgreSQL connection string | postgres://postgres:postgres@localhost:5433/blocmarket |
REDIS_URL | Redis connection string | redis://localhost:6380 |
JWT_SECRET | JWT signing key | (required) |
STRIPE_SECRET_KEY | Stripe API key | (optional) |