This commit is contained in:
2025-11-17 01:16:48 +00:00
parent 559976ea85
commit 9108def654

31
server/.env Normal file
View File

@@ -0,0 +1,31 @@
# Database
DATABASE_URL="mysql://beach_litter_user:BeachClean2024!@192.168.4.20:3306/beach_litter_mapping"
# Clerk Authentication
CLERK_SECRET_KEY="sk_test_3isQePjVOTJPPkG7hsKDd9rAVSmgFvVvc5Ru0MOoSY"
CLERK_WEBHOOK_SECRET="whsec_placeholder"
# Server
PORT=3005
NODE_ENV=development
# File Upload
UPLOAD_DIR=./uploads
MAX_FILE_SIZE=5242880
# CORS
CORS_ORIGIN=http://localhost:5173
# Redis Cache
REDIS_URL="redis://localhost:6379"
# External APIs (Get keys from EXTERNAL_API_SETUP.md)
OPENWEATHER_API_KEY="f4bd46ad4107d3ab7f688edd82a9eaa3"
# Optional: STORMGLASS_API_KEY="" (10 free requests/day for tide data)
# Email Notifications (AhaSend)
AHASEND_API_KEY="aha-sk-GbzRp0nqVCgmQVw0FN47HNHdFNjR055cQCY1L-l5BSBV9_EmE1-NGHPbR2e2gaR2"
AHASEND_ACCOUNT_ID="8a14f9a5-6e6d-47c9-b5d6-a687265b36a3"
FROM_EMAIL="Beach Litter Platform <noreply@psbailey.uk>"
FRONTEND_URL="http://localhost:5173"
TEST_EMAIL="psbailey31@gmail.com"