apicentric 0.4.1

Toolkit for building, recording, and sharing mock APIs
Documentation
# Apicentric Environment Configuration
# Copy this file to .env and update with your values

# ============================================
# Server Configuration
# ============================================
APICENTRIC_PORT=8000
APICENTRIC_HOST=0.0.0.0

# ============================================
# Authentication
# ============================================
# Set to true to require authentication for all endpoints
APICENTRIC_PROTECT_SERVICES=false

# JWT secret key (generate a secure random string for production)
# Example: openssl rand -base64 32
APICENTRIC_JWT_SECRET=change-this-to-a-secure-random-string

# ============================================
# Database
# ============================================
APICENTRIC_DB_PATH=./data/apicentric.db

# ============================================
# CORS Configuration
# ============================================
# Comma-separated list of allowed origins
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:9002

# ============================================
# Logging
# ============================================
# Options: error, warn, info, debug, trace
RUST_LOG=info,apicentric=debug

# ============================================
# AI Configuration (Optional)
# ============================================
# OpenAI
OPENAI_API_KEY=your-openai-api-key-here

# Google Gemini
GEMINI_API_KEY=your-gemini-api-key-here

# ============================================
# Frontend Configuration
# ============================================
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_WS_URL=ws://localhost:8000/ws

# ============================================
# Production Settings
# ============================================
# Set to production for optimized builds
NODE_ENV=development

# Remove console logs in production
NEXT_PUBLIC_ENABLE_CONSOLE=true