First commit

This commit is contained in:
James Pattinson
2025-11-10 13:57:46 +00:00
parent cffb5e8b8e
commit 3751ee0076
31 changed files with 2356 additions and 0 deletions

36
.env.example Normal file
View File

@@ -0,0 +1,36 @@
# 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 (to be added later)
SQUARE_ACCESS_TOKEN=your-square-access-token
SQUARE_ENVIRONMENT=sandbox
SQUARE_LOCATION_ID=your-location-id
# 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