Skip to content

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

Terminal window
git clone https://forgejo.wyattau.com/BlocMarket/BlocMarket_app.git
cd BlocMarket_app
make hooks
make db-start
make api

Environment Variables

Copy .env.example to .env and configure:

VariableDescriptionDefault
DATABASE_URLPostgreSQL connection stringpostgres://postgres:postgres@localhost:5433/blocmarket
REDIS_URLRedis connection stringredis://localhost:6380
JWT_SECRETJWT signing key(required)
STRIPE_SECRET_KEYStripe API key(optional)