摘要: // 引用expess框架 const express = require('express'); // 处理路径 const path = require('path'); // 引入body-parser模块 用来处理post请求参数 const bodyPaser = require('bod 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(35) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); //引入 const bodyPaser = require('body-par 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(20) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(15) 评论(0) 推荐(0)
摘要: users.js // 创建用户集合 // 引入mongoose第三方模块 const mongoose = require('mongoose'); // 导入bcrypt const bcrypt = require('bcrypt'); // 引入joi模块 const Joi = requi 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(27) 评论(0) 推荐(0)
摘要: blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); require('./model/connect') //告诉e 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(32) 评论(0) 推荐(0)
摘要: blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); require('./model/connect') //告诉e 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(48) 评论(0) 推荐(0)
摘要: blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); require('./model/connect') //告诉e 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(26) 评论(0) 推荐(0)
摘要: blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); require('./model/connect') //告诉e 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(31) 评论(0) 推荐(0)
摘要: blog.js const express = require('express'); //创建网站服务器 const app = express(); //开放静态资源文件 const path = require('path'); require('./model/connect') //告诉e 阅读全文
posted @ 2022-08-05 22:01 前端导师歌谣 阅读(72) 评论(0) 推荐(0)