feat: add comprehensive SEO (metadata, OG images, sitemap, robots, manifest) and update README

This commit is contained in:
2026-04-25 01:52:28 +08:00
parent 4688f3f594
commit 0dd1e86487
21 changed files with 1075 additions and 132 deletions
+56
View File
@@ -0,0 +1,56 @@
# =============================================================================
# Environment Configuration
# =============================================================================
# Copy this file to .env.local and fill in your actual values
# Never commit .env.local to version control
# =============================================================================
# -----------------------------------------------------------------------------
# SYSTEM & DEPLOYMENT
# -----------------------------------------------------------------------------
NIXPACKS_NODE_VERSION=22
# -----------------------------------------------------------------------------
# DATABASE
# -----------------------------------------------------------------------------
# PostgreSQL connection string
DATABASE_URL="postgresql://user:password@localhost:5432/grounds"
# -----------------------------------------------------------------------------
# APPLICATION URLS
# -----------------------------------------------------------------------------
# Base URL of the application (client-accessible)
NEXT_PUBLIC_SITE_URL="https://localhost:3000"
# Auth callback URL
NEXT_PUBLIC_APP_URL="https://localhost:3000"
# -----------------------------------------------------------------------------
# BETTER AUTH
# -----------------------------------------------------------------------------
# Better Auth configuration
# URL must match your app URL (with protocol)
BETTER_AUTH_URL="https://localhost:3000"
# Secret key for signing tokens (generate with: openssl rand -base64 32)
BETTER_AUTH_SECRET="your-secret-key-here"
# -----------------------------------------------------------------------------
# AUTHENTICATION
# -----------------------------------------------------------------------------
# Google OAuth credentials (required)
GOOGLE_CLIENT_ID=""
GOOGLE_CLIENT_SECRET=""
# Discord OAuth credentials (required)
DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
# -----------------------------------------------------------------------------
# STORAGE (S3 COMPATIBLE)
# -----------------------------------------------------------------------------
# S3-compatible credentials for file storage
S3_ACCESS_KEY_ID=""
S3_SECRET_ACCESS_KEY=""
S3_BUCKET_NAME=""
S3_PUBLIC_URL=""