Files
sasa-membership/.env.example
James Pattinson 0f74333a22 Square Payments
2025-11-12 16:09:38 +00:00

39 lines
1.1 KiB
Plaintext

# Application Settings
APP_NAME="Swansea Airport Stakeholders Alliance"
APP_VERSION="1.0.0"
DEBUG=True
ENVIRONMENT=development
# API Settings
API_V1_PREFIX=/api/v1
SECRET_KEY=your-secret-key-change-this-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# Database Settings
DATABASE_HOST=mysql
DATABASE_PORT=3306
DATABASE_USER=membership_user
DATABASE_PASSWORD=change_this_password
DATABASE_NAME=membership_db
# Square Payment Settings
# Get these from your Square Developer Dashboard: https://developer.squareup.com/apps
SQUARE_ACCESS_TOKEN=your-square-access-token-here
SQUARE_ENVIRONMENT=sandbox # Use 'sandbox' for testing, 'production' for live payments
SQUARE_LOCATION_ID=your-square-location-id-here
SQUARE_APPLICATION_ID=your-square-application-id-here # Required for Web Payments SDK
# SMTP2GO Email Settings
SMTP2GO_API_KEY=your-smtp2go-api-key
SMTP2GO_API_URL=https://api.smtp2go.com/v3/email/send
EMAIL_FROM=noreply@swanseaairport.org
EMAIL_FROM_NAME="Swansea Airport Stakeholders Alliance"
# CORS Settings
BACKEND_CORS_ORIGINS=["http://localhost:3000","http://localhost:8080"]
# File Storage
UPLOAD_DIR=/app/uploads
MAX_UPLOAD_SIZE=10485760