feat: initial commit with Vercel CI/CD
This commit is contained in:
parent
443e2b6518
commit
ec17b894a6
14
.env.example
14
.env.example
|
|
@ -1,23 +1,23 @@
|
|||
JWT_SECRET=your_jwt_secret_here
|
||||
# JWT Secret
|
||||
JWT_SECRET=your_jwt_secret_at_least_32_bytes
|
||||
|
||||
# Database
|
||||
SERVER_HOST=your_database_host
|
||||
SERVER_PORT=3306
|
||||
SERVER_USER=your_database_user
|
||||
PASSWORD=your_database_password
|
||||
DB_NAME=auth_db
|
||||
DB_NAME=your_database_name
|
||||
|
||||
# GitHub OAuth
|
||||
GITHUB_CLIENT_ID=your_github_client_id
|
||||
GITHUB_CLIENT_SECRET=your_github_client_secret
|
||||
GITHUB_CALLBACK_URL=https://your-domain.com/callback
|
||||
|
||||
# 飞书 OAuth
|
||||
# Feishu OAuth
|
||||
FEISHU_APP_ID=your_feishu_app_id
|
||||
FEISHU_APP_SECRET=your_feishu_app_secret
|
||||
|
||||
# AI API Keys
|
||||
# API Keys
|
||||
SILICONFLOW_API_KEY=your_siliconflow_api_key
|
||||
DEEPSEEK_API_KEY=your_deepseek_api_key
|
||||
GROK_API_KEY=your_grok_api_key
|
||||
|
||||
# Grok API Base URL (optional)
|
||||
GROK_BASE_URL=https://api.x.ai
|
||||
|
|
|
|||
|
|
@ -1,40 +1,26 @@
|
|||
# compiled output
|
||||
/dist
|
||||
/node_modules
|
||||
|
||||
# Environment variables
|
||||
# 环境变量
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Logs
|
||||
logs
|
||||
# 依赖
|
||||
node_modules/
|
||||
.pnpm-store/
|
||||
|
||||
# 构建产物
|
||||
dist/
|
||||
build/
|
||||
|
||||
# 日志
|
||||
*.log
|
||||
npm-debug.log*
|
||||
pnpm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
lerna-debug.log*
|
||||
|
||||
# OS
|
||||
# 编辑器
|
||||
.vscode/
|
||||
.idea/
|
||||
|
||||
# 系统文件
|
||||
.DS_Store
|
||||
|
||||
# Tests
|
||||
/coverage
|
||||
/.nyc_output
|
||||
|
||||
# IDEs and editors
|
||||
/.idea
|
||||
.project
|
||||
.classpath
|
||||
.c9/
|
||||
*.launch
|
||||
.settings/
|
||||
*.sublime-workspace
|
||||
|
||||
# IDE - VSCode
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
# Vercel
|
||||
.vercel/
|
||||
|
|
|
|||
|
|
@ -11,5 +11,8 @@
|
|||
"src": "/(.*)",
|
||||
"dest": "dist/main.js"
|
||||
}
|
||||
]
|
||||
],
|
||||
"env": {
|
||||
"NODE_ENV": "production"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue