Ai
1 Star 1 Fork 0

user_499098/rest-api-nodejs-mongodb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.env.example 608 Bytes
一键复制 编辑 原始数据 按行查看 历史
Maitray Suthar 提交于 2019-10-22 16:43 +08:00 . Resolved mangoose warning, correct typo
MONGODB_URL=YourConnectionString
# Example Connection String:-
# mongodb://127.0.0.1:27017/rest-api-nodejs-mongodb
# mongodb://[MongodbHost]:[PORT]/[DatabaseName]
JWT_SECRET=YourSecret
# Example Secret:- abcdefghijklmnopqrstuvwxyz1234567890
JWT_TIMEOUT_DURATION="2 hours"
# You can place duration available here: https://github.com/auth0/node-jsonwebtoken#usage
# Search for "expiresIn" option on above link.
EMAIL_SMTP_HOST=YourSMTPHost
EMAIL_SMTP_PORT=YourSMTPPort
EMAIL_SMTP_USERNAME=YourSMTPUsername
EMAIL_SMTP_PASSWORD=YourSMTPPassword
# true for 465, false for other ports
EMAIL_SMTP_SECURE=false
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yunwisdoms/rest-api-nodejs-mongodb.git
git@gitee.com:yunwisdoms/rest-api-nodejs-mongodb.git
yunwisdoms
rest-api-nodejs-mongodb
rest-api-nodejs-mongodb
master

搜索帮助