[{"title":"(62个子文件191KB)nest-boilerplate:NestJS的样板,支持数据库,svagger,配置,速率限制,日志记录,验证,异常处理,docker,测试和CI-源码","children":[{"title":"nest-boilerplate-master","children":[{"title":".dockerignore <span style='color:#111;'>35B</span>","children":null,"spread":false},{"title":"tsconfig.build.json <span style='color:#111;'>116B</span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"main-workflow.yml <span style='color:#111;'>600B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Dockerfile-e2e <span style='color:#111;'>78B</span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'>381.50KB</span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'>833B</span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.ts <span style='color:#111;'>2.89KB</span>","children":null,"spread":false},{"title":"common","children":[{"title":"error-codes.ts <span style='color:#111;'>273B</span>","children":null,"spread":false},{"title":"dto","children":[{"title":"ApiError.dto.ts <span style='color:#111;'>369B</span>","children":null,"spread":false},{"title":"ApiResponse.dto.ts <span style='color:#111;'>116B</span>","children":null,"spread":false}],"spread":true},{"title":"Config.ts <span style='color:#111;'>899B</span>","children":null,"spread":false},{"title":"util","children":[{"title":"ResponseUtils.ts <span style='color:#111;'>520B</span>","children":null,"spread":false}],"spread":true},{"title":"logging","children":[{"title":"CustomLogger.ts <span style='color:#111;'>3.31KB</span>","children":null,"spread":false},{"title":"remove-sensitive.ts <span style='color:#111;'>752B</span>","children":null,"spread":false},{"title":"Sample.transport.ts <span style='color:#111;'>397B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"guards","children":[{"title":"auth.guard.ts <span style='color:#111;'>857B</span>","children":null,"spread":false}],"spread":true},{"title":"filters","children":[{"title":"all-exceptions-filter.ts <span style='color:#111;'>1.98KB</span>","children":null,"spread":false}],"spread":true},{"title":"db","children":[{"title":"migration","children":[{"title":"1599067091400-create-tables.ts <span style='color:#111;'>1.76KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"modules","children":[{"title":"users","children":[{"title":"entitiy","children":[{"title":"Contact.entity.ts <span style='color:#111;'>909B</span>","children":null,"spread":false},{"title":"Address.entity.ts <span style='color:#111;'>835B</span>","children":null,"spread":false},{"title":"User.entity.ts <span style='color:#111;'>1.12KB</span>","children":null,"spread":false}],"spread":false},{"title":"dto","children":[{"title":"CreateAddress.dto.ts <span style='color:#111;'>230B</span>","children":null,"spread":false},{"title":"UpdateUser.dto.ts <span style='color:#111;'>297B</span>","children":null,"spread":false},{"title":"address.dto.ts <span style='color:#111;'>258B</span>","children":null,"spread":false},{"title":"contact.dto.ts <span style='color:#111;'>166B</span>","children":null,"spread":false},{"title":"CreateUser.dto.ts <span style='color:#111;'>420B</span>","children":null,"spread":false},{"title":"CreateContactDto.ts <span style='color:#111;'>178B</span>","children":null,"spread":false},{"title":"user.dto.ts <span style='color:#111;'>443B</span>","children":null,"spread":false},{"title":"UpdateContact.dto.ts <span style='color:#111;'>178B</span>","children":null,"spread":false}],"spread":false},{"title":"users.service.spec.ts <span style='color:#111;'>2.79KB</span>","children":null,"spread":false},{"title":"users.controller.spec.ts <span style='color:#111;'>2.54KB</span>","children":null,"spread":false},{"title":"users.service.ts <span style='color:#111;'>2.78KB</span>","children":null,"spread":false},{"title":"users.module.ts <span style='color:#111;'>475B</span>","children":null,"spread":false},{"title":"users.controller.ts <span style='color:#111;'>2.65KB</span>","children":null,"spread":false}],"spread":false},{"title":"app","children":[{"title":"app.service.ts <span style='color:#111;'>360B</span>","children":null,"spread":false},{"title":"app.controller.ts <span style='color:#111;'>512B</span>","children":null,"spread":false},{"title":"app.controller.spec.ts <span style='color:#111;'>858B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"middleware","children":[{"title":"request-headers.middleware.ts <span style='color:#111;'>441B</span>","children":null,"spread":false}],"spread":false},{"title":"decorators","children":[{"title":"correlation-id.decorator.ts <span style='color:#111;'>281B</span>","children":null,"spread":false}],"spread":false},{"title":"app.module.ts <span style='color:#111;'>802B</span>","children":null,"spread":false},{"title":"interceptors","children":[{"title":"logging.interceptor.ts <span style='color:#111;'>799B</span>","children":null,"spread":false}],"spread":false},{"title":"pipes","children":[{"title":"validation.pipe.ts <span style='color:#111;'>2.60KB</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Dockerfile <span style='color:#111;'>387B</span>","children":null,"spread":false},{"title":"docker-compose-e2e.yml <span style='color:#111;'>619B</span>","children":null,"spread":false},{"title":"nest-cli.json <span style='color:#111;'>64B</span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'>120B</span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'>347B</span>","children":null,"spread":false},{"title":"config","children":[{"title":"test.json <span style='color:#111;'>102B</span>","children":null,"spread":false},{"title":"default.json <span style='color:#111;'>909B</span>","children":null,"spread":false},{"title":"custom-environment-variables.json <span style='color:#111;'>643B</span>","children":null,"spread":false}],"spread":true},{"title":"LICENSE <span style='color:#111;'>1.03KB</span>","children":null,"spread":false},{"title":"test","children":[{"title":"jest-e2e.json <span style='color:#111;'>183B</span>","children":null,"spread":false},{"title":"app.e2e-spec.ts <span style='color:#111;'>3.15KB</span>","children":null,"spread":false},{"title":"util","children":[{"title":"Blank.transport.ts <span style='color:#111;'>336B</span>","children":null,"spread":false},{"title":"logging.ts <span style='color:#111;'>204B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".prettierrc <span style='color:#111;'>69B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>7.57KB</span>","children":null,"spread":false},{"title":"docker-compose.yml <span style='color:#111;'>651B</span>","children":null,"spread":false},{"title":".env.sample <span style='color:#111;'>277B</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>3.48KB</span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'>18B</span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'>3.43KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]