Major additions: - Multi-state expansion: states table, StateSelector, NationalDashboard, StateHeatmap, CrossStateCompare - Orchestrator services: trace service, error taxonomy, retry manager, proxy rotator - Discovery system: dutchie discovery service, geo validation, city seeding scripts - Analytics infrastructure: analytics v2 routes, brand/pricing/stores intelligence pages - Local development: setup-local.sh starts all 5 services (postgres, backend, cannaiq, findadispo, findagram) - Migrations 037-056: crawler profiles, states, analytics indexes, worker metadata Frontend pages added: - Discovery, ChainsDashboard, IntelligenceBrands, IntelligencePricing, IntelligenceStores - StateHeatmap, CrossStateCompare, SyncInfoPanel Components added: - StateSelector, OrchestratorTraceModal, WorkflowStepper 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
51 lines
2.0 KiB
Plaintext
51 lines
2.0 KiB
Plaintext
# CannaiQ Backend Environment Configuration
|
|
# Copy this file to .env and fill in the values
|
|
|
|
# Server
|
|
PORT=3010
|
|
NODE_ENV=development
|
|
|
|
# =============================================================================
|
|
# CANNAIQ DATABASE (dutchie_menus) - PRIMARY DATABASE
|
|
# =============================================================================
|
|
# This is where ALL schema migrations run and where canonical tables live.
|
|
# All CANNAIQ_DB_* variables are REQUIRED - no defaults.
|
|
# The application will fail to start if any are missing.
|
|
|
|
CANNAIQ_DB_HOST=localhost
|
|
CANNAIQ_DB_PORT=54320
|
|
CANNAIQ_DB_NAME=dutchie_menus # MUST be dutchie_menus - NOT dutchie_legacy
|
|
CANNAIQ_DB_USER=dutchie
|
|
CANNAIQ_DB_PASS=
|
|
|
|
# Alternative: Use a full connection URL instead of individual vars
|
|
# If set, this takes priority over individual vars above
|
|
# CANNAIQ_DB_URL=postgresql://user:pass@host:port/dutchie_menus
|
|
|
|
# =============================================================================
|
|
# LEGACY DATABASE (dutchie_legacy) - READ-ONLY FOR ETL
|
|
# =============================================================================
|
|
# Used ONLY by ETL scripts to read historical data.
|
|
# NEVER run migrations against this database.
|
|
# These are only needed when running 042_legacy_import.ts
|
|
|
|
LEGACY_DB_HOST=localhost
|
|
LEGACY_DB_PORT=54320
|
|
LEGACY_DB_NAME=dutchie_legacy # READ-ONLY - never migrated
|
|
LEGACY_DB_USER=dutchie
|
|
LEGACY_DB_PASS=
|
|
|
|
# Alternative: Use a full connection URL instead of individual vars
|
|
# LEGACY_DB_URL=postgresql://user:pass@host:port/dutchie_legacy
|
|
|
|
# =============================================================================
|
|
# LOCAL STORAGE
|
|
# =============================================================================
|
|
# Local image storage path (no MinIO)
|
|
LOCAL_IMAGES_PATH=./public/images
|
|
|
|
# =============================================================================
|
|
# AUTHENTICATION
|
|
# =============================================================================
|
|
JWT_SECRET=your-secret-key-change-in-production
|