nodejs 中间件

发邮件: https://nodemailer.com/about/

权限验证 https://www.npmjs.com/package/koa-passport

session :https://www.npmjs.com/package/koa-session

权限验证 :https://github.com/auth0/node-jsonwebtoken

 

日志: https://www.npmjs.com/package/log4js

HTTP日志记录: https://www.npmjs.com/package/koa-morgan

 

图片验证码https://github.com/lemonce/svg-captcha/blob/master/README_CN.md

 

数据库

knex 官方英文文档:https://knexjs.org

中文文档: https://www.songxingguo.com/2018/06/30/knex.js-query/

 

nodejs 自动更新/后台运行

nodemon :https://github.com/remy/nodemon

supervisor : https://github.com/petruisfan/node-supervisor/

pm2 : https://github.com/Unitech/pm2