【文件属性】:
文件名称:server:服务器已准备就绪
文件大小:816KB
文件格式:ZIP
更新时间:2021-04-06 19:18:46
JavaScript
开发部门。
快速开始
# Install dependencies for server
npm install
# Run the Express server only
npm run server
# Server runs on http://localhost:3000
.env示例
NODE_MONGODB_URI=mongodb://root:root@localhost:27017/random_coffee
NODE_JWT_SECRET=random_jwt
TELEGRAM_BOT_ENABLED=0
TELEGRAM_BOT_TOKEN=123
CORS_ENABLED=0
CORS_ORIGINS=http://localhost:3000,https://google.com