Sync Server DONE!

This commit is contained in:
2025-09-28 23:12:46 -06:00
parent 036becb5be
commit 6e490d1598
41 changed files with 5684 additions and 551 deletions

14
sync-server/.env.example Normal file
View File

@@ -0,0 +1,14 @@
# OpenClimb Sync Server Configuration
# Required: Secret token for authentication
# Generate a secure random token and share it between your apps and server
AUTH_TOKEN=your-secure-secret-token-here
# Optional: Port to run the server on (default: 8080)
PORT=8080
# Optional: Path to store the sync data (default: ./data/climb_data.json)
DATA_FILE=./data/climb_data.json
# Optional: Directory to store images (default: ./data/images)
IMAGES_DIR=./data/images