This commit is contained in:
danilgryaznev 2025-09-28 14:14:19 +03:00
parent b787541de8
commit 34774a299f
3 changed files with 17 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,7 +3,6 @@ __pycache__/
*.sqlite3
*.db
.env
.env.*
.vscode/
.idea/
.DS_Store

11
backend/.env.example Normal file
View File

@ -0,0 +1,11 @@
# Sample configuration for the FastAPI backend
ALABUGA_ENVIRONMENT=local
ALABUGA_PROJECT_NAME=Alabuga Gamification API
ALABUGA_SECRET_KEY=change-me
ALABUGA_JWT_ALGORITHM=HS256
ALABUGA_ACCESS_TOKEN_EXPIRE_MINUTES=720
ALABUGA_REQUIRE_EMAIL_CONFIRMATION=false
ALABUGA_BACKEND_CORS_ORIGINS=["http://localhost:3000","http://127.0.0.1:3000","http://0.0.0.0:3000"]
# For local runs outside Docker keep the path under ./data/
# When running via docker compose override with /data/app.db for persistent volume usage
ALABUGA_SQLITE_PATH=./data/app.db

6
frontend/.env.example Normal file
View File

@ -0,0 +1,6 @@
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_INTERNAL_API_URL=http://localhost:8000
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