29 lines
985 B
Text
29 lines
985 B
Text
# Local development environment variables
|
|
# Copy this file to .env and fill in the values
|
|
# To use: install direnv (https://direnv.net), then run `direnv allow`
|
|
|
|
# =============================================================================
|
|
# Backend
|
|
# =============================================================================
|
|
|
|
# Required: Secret key for JWT token signing
|
|
# Generate with: python -c "import secrets; print(secrets.token_urlsafe(32))"
|
|
SECRET_KEY=
|
|
|
|
# Database URL
|
|
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/arbret
|
|
|
|
# Dev user credentials (regular user)
|
|
DEV_USER_EMAIL=dev@example.com
|
|
DEV_USER_PASSWORD=devpass123
|
|
|
|
# Dev admin credentials
|
|
DEV_ADMIN_EMAIL=admin@example.com
|
|
DEV_ADMIN_PASSWORD=admin123
|
|
|
|
# =============================================================================
|
|
# Frontend
|
|
# =============================================================================
|
|
|
|
# API URL for the backend
|
|
NEXT_PUBLIC_API_URL=http://localhost:8000
|