首页 开发技术 其它     /    express-mongoose-template:具有express,mongoose和TypeScript的模板Node.js项目-源码

express-mongoose-template:具有express,mongoose和TypeScript的模板Node.js项目-源码

上传者: weixin_42128558 | 上传时间:2023/3/6 10:25:29 | 文件大小:2.3MB | 文件类型:ZIP
express-mongoose-template:具有express,mongoose和TypeScript的模板Node.js项目-源码
表达猫鼬模板快速开始开始开发...您需要首先创建一个.env文件并配置数据库,然后设置数据库并开始开发/测试。
#installdepsyarninstall#runindevelopmentmodeyarndev#runtestsyarntest#checkcodestylesyarnlint#checktypeerrorsyarntypecheck安装依赖项安装所有程序包依赖项(一次操作)yarninstall运转在开发模式下运转:运转应用程序是开发模式。
不应在生产中使用yarndev或调试yarndev:debug在生产模式下运转:编译应用程序并以生产模式启动yarncompileyarnstart测试一下运转摩卡单元测试yarntest或调试它们yarntest:debug运转测试并在./test/test-results.xml输出JUnit样式的XML测试结果文件yarntest:junit试试吧确保数据库正在运转打开浏览器到调用

文件下载

资源详情

[{"title":"(42个子文件2.3MB)express-mongoose-template:具有express,mongoose和TypeScript的模板Node.js项目-源码","children":[{"title":"express-mongoose-template-master","children":[{"title":"build.ts <span style='color:#111;'>287B</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>177B</span>","children":null,"spread":false},{"title":".env.example <span style='color:#111;'>289B</span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'>2.17KB</span>","children":null,"spread":false},{"title":"server","children":[{"title":"api","children":[{"title":"services","children":[{"title":"examples.service.ts <span style='color:#111;'>842B</span>","children":null,"spread":false}],"spread":true},{"title":"models","children":[{"title":"example.ts <span style='color:#111;'>479B</span>","children":null,"spread":false}],"spread":true},{"title":"middlewares","children":[{"title":"error.handler.ts <span style='color:#111;'>328B</span>","children":null,"spread":false}],"spread":true},{"title":"controllers","children":[{"title":"examples","children":[{"title":"controller.ts <span style='color:#111;'>1.02KB</span>","children":null,"spread":false},{"title":"router.ts <span style='color:#111;'>204B</span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"index.ts <span style='color:#111;'>634B</span>","children":null,"spread":false},{"title":"routes.ts <span style='color:#111;'>209B</span>","children":null,"spread":false},{"title":"common","children":[{"title":"api.yml <span style='color:#111;'>1.56KB</span>","children":null,"spread":false},{"title":"database.ts <span style='color:#111;'>984B</span>","children":null,"spread":false},{"title":"env.ts <span style='color:#111;'>46B</span>","children":null,"spread":false},{"title":"server.ts <span style='color:#111;'>1.92KB</span>","children":null,"spread":false},{"title":"logger.ts <span style='color:#111;'>168B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".cfignore <span style='color:#111;'>139B</span>","children":null,"spread":false},{"title":"public","children":[{"title":"api-explorer","children":[{"title":"favicon-32x32.png <span style='color:#111;'>1.60KB</span>","children":null,"spread":false},{"title":"swagger-ui-standalone-preset.js.map <span style='color:#111;'>1.39MB</span>","children":null,"spread":false},{"title":"oauth2-redirect.html <span style='color:#111;'>2.33KB</span>","children":null,"spread":false},{"title":"swagger-ui-bundle.js <span style='color:#111;'>919.15KB</span>","children":null,"spread":false},{"title":"swagger-ui-standalone-preset.js <span style='color:#111;'>319.97KB</span>","children":null,"spread":false},{"title":"favicon-16x16.png <span style='color:#111;'>738B</span>","children":null,"spread":false},{"title":"swagger-ui.css <span style='color:#111;'>149.96KB</span>","children":null,"spread":false},{"title":"swagger-ui.js.map <span style='color:#111;'>1.45MB</span>","children":null,"spread":false},{"title":"index.html <span style='color:#111;'>1.42KB</span>","children":null,"spread":false},{"title":"swagger-ui.css.map <span style='color:#111;'>91B</span>","children":null,"spread":false},{"title":"swagger-ui.js <span style='color:#111;'>751.50KB</span>","children":null,"spread":false},{"title":"swagger-ui-bundle.js.map <span style='color:#111;'>3.79MB</span>","children":null,"spread":false}],"spread":false},{"title":"index.html <span style='color:#111;'>312B</span>","children":null,"spread":false}],"spread":true},{"title":"tsconfig.json <span style='color:#111;'>331B</span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"main.yml <span style='color:#111;'>1.24KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".eslintrc.js <span style='color:#111;'>959B</span>","children":null,"spread":false},{"title":".prettierrc.js <span style='color:#111;'>86B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>3.07KB</span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"launch.json <span style='color:#111;'>906B</span>","children":null,"spread":false}],"spread":true},{"title":".mocharc.yaml <span style='color:#111;'>87B</span>","children":null,"spread":false},{"title":"nodemon.json <span style='color:#111;'>181B</span>","children":null,"spread":false},{"title":"test","children":[{"title":"setup.ts <span style='color:#111;'>265B</span>","children":null,"spread":false},{"title":"examples.controller.ts <span style='color:#111;'>785B</span>","children":null,"spread":false}],"spread":false},{"title":"yarn.lock <span style='color:#111;'>148.41KB</span>","children":null,"spread":false},{"title":".dependabot","children":[{"title":"config.yml <span style='color:#111;'>211B</span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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