tests passing

This commit is contained in:
counterweight 2025-12-18 23:33:32 +01:00
parent 322bdd3e6e
commit b173b47925
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
18 changed files with 1414 additions and 93 deletions

29
.env.example Normal file
View file

@ -0,0 +1,29 @@
# 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