first commit

This commit is contained in:
浪子
2025-12-29 18:14:05 +08:00
commit 83f3415084
46 changed files with 23959 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# Server Configuration
PORT=5000
NODE_ENV=development
# Database
DATABASE_PATH=./database/footprint.db
# JWT Secret
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
# Session Secret
SESSION_SECRET=your-session-secret-change-this-in-production
# OAuth2 - Google
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_CALLBACK_URL=http://localhost:5000/auth/google/callback
# OAuth2 - GitHub
GITHUB_CLIENT_ID=your-github-client-id
GITHUB_CLIENT_SECRET=your-github-client-secret
GITHUB_CALLBACK_URL=http://localhost:5000/auth/github/callback
# Frontend URL
FRONTEND_URL=http://localhost:3000
# API Rate Limiting
RATE_LIMIT_WINDOW_MS=900000
RATE_LIMIT_MAX_REQUESTS=100