diff --git a/.gitignore b/.gitignore index 6617915..6a38535 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,6 @@ __pycache__/ *.sqlite3 *.db .env -.env.* .vscode/ .idea/ .DS_Store diff --git a/backend/.env.example b/backend/.env.example new file mode 100644 index 0000000..a923e52 --- /dev/null +++ b/backend/.env.example @@ -0,0 +1,18 @@ +# Alabuga Gamification API Environment Variables + +# Debug mode (enables auto-creation of demo users) +ALABUGA_DEBUG=true + +# Security settings +ALABUGA_SECRET_KEY=super-secret-key-change-me-in-production +ALABUGA_JWT_ALGORITHM=HS256 +ALABUGA_ACCESS_TOKEN_EXPIRE_MINUTES=720 + +# Email confirmation settings +ALABUGA_REQUIRE_EMAIL_CONFIRMATION=false + +# Database settings +ALABUGA_SQLITE_PATH=/data/app.db + +# CORS settings (JSON array format) +ALABUGA_BACKEND_CORS_ORIGINS=["http://localhost:3000", "http://frontend:3000", "http://0.0.0.0:3000"] diff --git a/frontend/.env.example b/frontend/.env.example new file mode 100644 index 0000000..855f5a7 --- /dev/null +++ b/frontend/.env.example @@ -0,0 +1,11 @@ +# Alabuga Gamification Frontend Environment Variables + +# API URLs +NEXT_PUBLIC_API_URL=http://localhost:8000 +NEXT_INTERNAL_API_URL=http://backend:8000 + +# Demo credentials +NEXT_PUBLIC_DEMO_EMAIL=candidate@alabuga.space +NEXT_PUBLIC_DEMO_PASSWORD=orbita123 +NEXT_PUBLIC_DEMO_HR_EMAIL=hr@alabuga.space +NEXT_PUBLIC_DEMO_HR_PASSWORD=orbita123