博客项目实战3

 


// 引入body-parser 模块  用来处理 post 请求参数
const bodyParser = require('body-parser');
 
// 处理post 请求参数
app.use(bodyParser.urlencoded({extended:false}))

 

 npm install node-gyp -g

 npm install --global --production windows-build-tools

npm install bcrypt

 

原文地址:https://www.cnblogs.com/ericblog1992/p/13099284.html