api-products-nestjs-源码

上传者: 42170064 | 上传时间: 2021-03-29 14:09:27 | 文件大小: 128KB | 文件类型: ZIP
一个渐进式的框架,用于构建高效且可扩展的服务器端应用程序。 描述 框架TypeScript入门资料库。 添加启用Cors import './imports/index' ; import { NestFactory } from '@nestjs/core' ; import { AppModule } from './app.module' ; function logServerStarting ( ) : void { console . log ( `http:// ${ process . env . BASE_URL } : ${ process . env . PORT } ` ) ; } async function bootstrap ( ) { const app = await NestFactory . create ( AppModule ) ;

文件下载

资源详情

[{"title":"( 38 个子文件 128KB ) api-products-nestjs-源码","children":[{"title":"api-products-nestjs-master","children":[{"title":".gitignore <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"app.module.ts <span style='color:#111;'> 397B </span>","children":null,"spread":false},{"title":"entity","children":[{"title":"Produto.ts <span style='color:#111;'> 856B </span>","children":null,"spread":false}],"spread":true},{"title":"interface","children":[{"title":"errors.interface.ts <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"produto.interface.ts <span style='color:#111;'> 157B </span>","children":null,"spread":false}],"spread":true},{"title":"app.controller.spec.ts <span style='color:#111;'> 617B </span>","children":null,"spread":false},{"title":"main.ts <span style='color:#111;'> 458B </span>","children":null,"spread":false},{"title":"app.service.ts <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"database","children":[{"title":"database.providers.ts <span style='color:#111;'> 883B </span>","children":null,"spread":false},{"title":"database.module.ts <span style='color:#111;'> 216B </span>","children":null,"spread":false}],"spread":true},{"title":"migration","children":[{"title":"1616653211965-CreateProduct.ts <span style='color:#111;'> 842B </span>","children":null,"spread":false}],"spread":true},{"title":"app.controller.ts <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"produto","children":[{"title":"dto","children":[{"title":"produto-create.dto.ts <span style='color:#111;'> 74B </span>","children":null,"spread":false},{"title":"product-update.dto.ts <span style='color:#111;'> 90B </span>","children":null,"spread":false}],"spread":false},{"title":"produto.providers.ts <span style='color:#111;'> 282B </span>","children":null,"spread":false},{"title":"produto.module.ts <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"produto.service.spec.ts <span style='color:#111;'> 467B </span>","children":null,"spread":false},{"title":"produto.service.ts <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"type","children":[{"title":"product-findById.type.ts <span style='color:#111;'> 38B </span>","children":null,"spread":false}],"spread":false},{"title":"produto.controller.ts <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"produto.controller.spec.ts <span style='color:#111;'> 499B </span>","children":null,"spread":false}],"spread":true},{"title":"imports","children":[{"title":"index.ts <span style='color:#111;'> 51B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 298B </span>","children":null,"spread":false},{"title":".prettierignore <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"postman","children":[{"title":"routes","children":[{"title":"JSON-Server.postman_collection.json <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 7.72KB </span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"exemplo.env <span style='color:#111;'> 535B </span>","children":null,"spread":false},{"title":"tsconfig.build.json <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"app.e2e-spec.ts <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"jest-e2e.json <span style='color:#111;'> 183B </span>","children":null,"spread":false}],"spread":true},{"title":".editorconfig <span style='color:#111;'> 229B </span>","children":null,"spread":false},{"title":".prettierrc <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"ormconfig.js <span style='color:#111;'> 573B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 269.72KB </span>","children":null,"spread":false},{"title":"nest-cli.json <span style='color:#111;'> 64B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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