Skip to content

xuanyuan/miaodongshequ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miaodongshequ

  • 开发环境

    • Node v10.13.0
  • 数据库连接配置

// /databases/config.js
module.exports = {
  host: '127.0.0.1',
  user: 'youruser',
  port: 3306,
  password: 'yourpassword',
  database: 'yourdb',
  insecureAuth: true
}
  • 邮箱配置
// /helper/config.js
module.exports = {
  user: '[email protected]',
  pass: 'xxx'
}
  • 项目运行
npm install
node app.js

change log

2018-10-13 20:05:54 搭建基本环境

2018-11-21 21:23:12 删除版本库重新提交,之前 commit 中包含个人账户信息

2018-11-22 14:30:39 将业务逻辑改成 async await 方式进行处理,一个字,酸爽,哈哈

2019-1-8 23:53:22 增加订餐后台

#守护进程启动程序
npm install -g nodemon -S
nodemon app.js

参考文章 http://javascript.ruanyifeng.com/nodejs/express.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published