expressjs-starter-kit:Node.js Express.js + MongoDB猫鼬+ RESTful-源码

上传者: 42121058 | 上传时间: 2021-02-03 14:05:53 | 文件大小: 65KB | 文件类型: ZIP
堆栈 Node.js / Express.js MongoDB /猫鼬 智威汤逊 怎么跑 将variables.env.sample复制到variables.env并对其进行自定义 npm start // or npm run watch 数据样本: npm run seed npm run seed:delete npm run seed:refresh 皮棉: npm run lint 路线/ API 根网址: curl -X GET \ http://localhost:3000/ API验证: curl -X POST \ http://localhost:3000/api/authenticate \ -H ' content-type: application/json ' \ -d ' { "email": "xinh@mail.com", "password": "123456" } ' API获取用户: curl -X GET \ http://localhost:3000/api/users \ -H ' auth

文件下载

资源详情

[{"title":"( 36 个子文件 65KB ) expressjs-starter-kit:Node.js Express.js + MongoDB猫鼬+ RESTful-源码","children":[{"title":"expressjs-starter-kit-master","children":[{"title":"services","children":[{"title":"users","children":[{"title":"findUserByEmail.js <span style='color:#111;'> 181B </span>","children":null,"spread":false},{"title":"forgotPassword.js <span style='color:#111;'> 922B </span>","children":null,"spread":false},{"title":"signUp.js <span style='color:#111;'> 688B </span>","children":null,"spread":false},{"title":"testAxios.js <span style='color:#111;'> 643B </span>","children":null,"spread":false},{"title":"findUserCurrent.js <span style='color:#111;'> 439B </span>","children":null,"spread":false},{"title":"findUsers.js <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"confirmSignUp.js <span style='color:#111;'> 752B </span>","children":null,"spread":false},{"title":"authenticate.js <span style='color:#111;'> 1023B </span>","children":null,"spread":false},{"title":"confirmResetPassword.js <span style='color:#111;'> 745B </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 753B </span>","children":null,"spread":false}],"spread":true},{"title":"views","children":[{"title":"email","children":[{"title":"confirm-sign-up.pug <span style='color:#111;'> 487B </span>","children":null,"spread":false},{"title":"styles.css <span style='color:#111;'> 5.92KB </span>","children":null,"spread":false},{"title":"password-reset.pug <span style='color:#111;'> 409B </span>","children":null,"spread":false},{"title":"email-layout.pug <span style='color:#111;'> 854B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"models","children":[{"title":"User.js <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"apis","children":[{"title":"userEndpoint.js <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"helpers","children":[{"title":"responseHelpers.js <span style='color:#111;'> 983B </span>","children":null,"spread":false},{"title":"errorHandlers.js <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"mailHelpers.js <span style='color:#111;'> 952B </span>","children":null,"spread":false},{"title":"jwtHelpers.js <span style='color:#111;'> 287B </span>","children":null,"spread":false},{"title":"stringHelpers.js <span style='color:#111;'> 251B </span>","children":null,"spread":false},{"title":"loggerHelpers.js <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"cryptHelpers.js <span style='color:#111;'> 559B </span>","children":null,"spread":false}],"spread":true},{"title":"variables.env.example <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 676B </span>","children":null,"spread":false},{"title":"start.js <span style='color:#111;'> 890B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"middlewares","children":[{"title":"authMiddleware.js <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false}],"spread":true},{"title":".editorconfig <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":".gitkeep <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 333B </span>","children":null,"spread":false},{"title":"routes","children":[{"title":"index.js <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"package-lock.json <span style='color:#111;'> 186.49KB </span>","children":null,"spread":false},{"title":"seeds","children":[{"title":"users.json <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"seeder.js <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false}],"spread":false},{"title":"package.json <span style='color:#111;'> 1.00KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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