Initial commit: Telegram Management System
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Full-stack web application for Telegram management - Frontend: Vue 3 + Vben Admin - Backend: NestJS - Features: User management, group broadcast, statistics 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
44
backend-nestjs/.env.example
Normal file
44
backend-nestjs/.env.example
Normal file
@@ -0,0 +1,44 @@
|
||||
# 环境配置
|
||||
NODE_ENV=development
|
||||
|
||||
# 服务端口
|
||||
PORT=3000
|
||||
SOCKET_PORT=3001
|
||||
|
||||
# JWT配置
|
||||
JWT_SECRET=tg-management-system-jwt-secret-2025
|
||||
JWT_EXPIRES_IN=24h
|
||||
|
||||
# 数据库配置
|
||||
DB_HOST=127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=
|
||||
DB_DATABASE=tg_manage
|
||||
|
||||
# Redis配置
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_DB=6
|
||||
REDIS_PASSWORD=
|
||||
|
||||
# RabbitMQ配置
|
||||
RABBITMQ_URL=amqp://localhost
|
||||
RABBITMQ_USERNAME=
|
||||
RABBITMQ_PASSWORD=
|
||||
|
||||
# 文件上传路径
|
||||
UPLOAD_PATH=/Users/hahaha/telegram-management-system/uploads/
|
||||
|
||||
# Telegram API配置
|
||||
TELEGRAM_API_ID=
|
||||
TELEGRAM_API_HASH=
|
||||
TELEGRAM_SESSION_STRING=
|
||||
|
||||
# 日志配置
|
||||
LOG_LEVEL=info
|
||||
LOG_DIR=./logs
|
||||
|
||||
# 监控配置
|
||||
ENABLE_METRICS=true
|
||||
METRICS_PORT=9090
|
||||
Reference in New Issue
Block a user