Tag Archives: nodejs

使用 nodejs 发送邮件 Nodemailer

平时在开发应用的时候,很多时候会用到邮件,来通知我们, 这里介绍 nodejs 如何发送邮件,比较简单。 使用 Nodemailer 库来发送邮件。 https://github.com/andris9/Nodemailer#migration-guide This is a complete... Read More | Share it now!


GITHUB: https://github.com/felixge/node-formidable 在web开发中,经常遇到处理文件上传的情况。而express框架在4.0版本后就不在支持req.files接收上传文件,对于文件上传,需要加multipart格式数据处理的中间件。multipart数据处理中间件有:busboy,... Read More | Share it now!

Token-Based Authentication With AngularJS & NodeJS

          Final product image What You’ll Be Creating Authentication is one of the most important parts of any web application. In this tutorial, we’ll be discussing token-based authentication systems and how they differ... Read More | Share it now!


Mongoose学习参考文档 前言:本学习参考文档仅供参考,如有问题,师请雅正 From: https://cnodejs.org/topic/504b4924e2b84515770103dd ##一、快速通道 ###1.1 名词解释 Schema :... Read More | Share it now!

Express安装后出现command not found问题

Express安装后出现command not found问题 express不能运行 安装Node.js的web框架Express:npm install -g express,键入命令:express –help,出现提示:sh: express: command not... Read More | Share it now!

Access-Control-Allow-Origin 浏览器js跨域问题

XMLHttpRequest cannot load http://xxxx. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://yyyy’ is therefore not allowed... Read More | Share it now!

Grunt wiredep:app no such file or directory bower.json

http://stackoverflow.com/questions/25709324/grunt-wiredepapp-no-such-file-or-directory-bower-json   Running “wiredep:app” (wiredep) task Warning: ENOENT, no such file or directory... Read More | Share it now!

npm-g_nosudo do npm without sudo

npm-g_nosudo https://github.com/glenpike/npm-g_nosudo sh: http://download.huangshiyang.com/shell/npm-g-nosudo.sh A shell script which will fix the problem where you want to stop using sudo for npm -g on Ubuntu. Inspired by a day trying to sort various... Read More | Share it now!