MongoDB_express:快递+ mongodb

上传者: 42112894 | 上传时间: 2023-03-27 11:11:22 | 文件大小: 361KB | 文件类型: ZIP
express+mongodb 使用express框架可能没有特别之处,但是对于入门学习是相当棒的!希望对于新手有帮助 webstorm编译Es6语法。 说明: 使用express脚手架生成项目 使用express框架开发,mongodb作为数据库 前后端分离,前端负责维护view,后端接口 Es6语法,webstorm配置babel支持编译 调试开发 $ git clone https://github.com/HerryLo/MongoDB_express.git $ npm install //安装依赖 $ mongod --dbpath D:/MongpDB/data //开启本地MongoDB $ npm run watch //开启es6/7语法编译 $ npm run dev // 开启本地服务 开启服务后, 即可访问

文件下载

资源详情

[{"title":"( 30 个子文件 361KB ) MongoDB_express:快递+ mongodb","children":[{"title":"MongoDB_express-master","children":[{"title":"src","children":[{"title":"utils","children":[{"title":"utils.js <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"constant.js <span style='color:#111;'> 385B </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"artListModel.js <span style='color:#111;'> 654B </span>","children":null,"spread":false},{"title":"UserModel.js <span style='color:#111;'> 517B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"users.js <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"api.js <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false}],"spread":true},{"title":"app.js <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"mongoose","children":[{"title":"dbConnect.js <span style='color:#111;'> 524B </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"www.js <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false}],"spread":true},{"title":"routes","children":[{"title":"user.js <span style='color:#111;'> 200B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 193B </span>","children":null,"spread":false},{"title":"api.js <span style='color:#111;'> 199B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".babelrc <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"dist","children":[{"title":"utils","children":[{"title":"utils.js <span style='color:#111;'> 4.42KB </span>","children":null,"spread":false},{"title":"constant.js <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false}],"spread":true},{"title":"public","children":[{"title":"img","children":[{"title":"1524480335737.jpg <span style='color:#111;'> 394.52KB </span>","children":null,"spread":false},{"title":"1524479509401.png <span style='color:#111;'> 168B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"model","children":[{"title":"artListModel.js <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false},{"title":"UserModel.js <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"users.js <span style='color:#111;'> 10.92KB </span>","children":null,"spread":false},{"title":"api.js <span style='color:#111;'> 12.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"app.js <span style='color:#111;'> 6.63KB </span>","children":null,"spread":false},{"title":"mongoose","children":[{"title":"dbConnect.js <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"www.js <span style='color:#111;'> 5.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"routes","children":[{"title":"user.js <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"api.js <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 790B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明