chore: add .env.example with required configuration templates

This commit is contained in:
2026-02-07 03:49:13 +08:00
parent e8a8ad389c
commit cd9e5f5860
2 changed files with 45 additions and 5 deletions

16
.env.example Normal file
View File

@@ -0,0 +1,16 @@
# Server Port
PORT=3000
# JWT Secret Key (generate a secure random string in production)
JWT_SECRET=your-secret-key-here
# Database URL (SQLite file path)
# Windows format: file:C:/path/to/database.sqlite
# Unix format: file:/path/to/database.sqlite
DATABASE_URL=file:./data/database.sqlite
# Max Request Body Size
MAX_REQUEST_SIZE=10mb
# API Base URL (for frontend)
VITE_API_BASE_URL=/api