rdev/.env.local.example
jordan 2fc8454b8c feat: add local development environment
- docker-compose.yaml: Local PostgreSQL on port 5433
- .env.local.example: Environment template for local dev
- Makefile: Dev commands (run, test, db-up, db-reset, etc.)
- QUICKSTART.md: Developer setup guide
- .gitignore: Exclude .env.local

Verified workflow:
1. make setup (creates .env.local)
2. make db-up (starts postgres)
3. make run (auto-migrates and serves on :8080)

All endpoints tested and working.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 00:07:02 -07:00

19 lines
434 B
Plaintext

# rdev-api local development configuration
# Copy to .env.local and customize as needed
# Usage: cp .env.local.example .env.local
# Server
PORT=8080
# Database (matches docker-compose.yaml defaults)
DB_HOST=localhost
DB_PORT=5433
DB_USER=appuser
DB_PASSWORD=localdev
DB_NAME=rdev
DB_SSL_MODE=disable
# Authentication
# Fixed dev admin key - DO NOT use in production
RDEV_ADMIN_KEY=rdev_sk_devadmin_0123456789abcdef0123456789abcdef