[{"title":"( 64 个子文件 127KB ) nestjs-mongo:使用Nestjs框架和MongoDB构建的REST API-源码","children":[{"title":"nestjs-mongo-master","children":[{"title":"tsconfig.build.json <span style='color:#111;'> 97B </span>","children":null,"spread":false},{"title":".eslintrc.js <span style='color:#111;'> 673B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main.ts <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"entities","children":[{"title":"index.ts <span style='color:#111;'> 31B </span>","children":null,"spread":false},{"title":"user.entity.ts <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"base.entity.ts <span style='color:#111;'> 495B </span>","children":null,"spread":false}],"spread":true},{"title":"base","children":[{"title":"base.module.ts <span style='color:#111;'> 200B </span>","children":null,"spread":false}],"spread":true},{"title":"app.module.ts <span style='color:#111;'> 651B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"configuration.ts <span style='color:#111;'> 424B </span>","children":null,"spread":false},{"title":"ormconfig.ts <span style='color:#111;'> 787B </span>","children":null,"spread":false}],"spread":true},{"title":"api","children":[{"title":"dtos","children":[{"title":"index.ts <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"base","children":[{"title":"index.ts <span style='color:#111;'> 32B </span>","children":null,"spread":false},{"title":"metadata.dto.ts <span style='color:#111;'> 321B </span>","children":null,"spread":false}],"spread":true},{"title":"user","children":[{"title":"user-auth.dto.ts <span style='color:#111;'> 2.18KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 61B </span>","children":null,"spread":false},{"title":"user.dto.ts <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"common","children":[{"title":"index.ts <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"errors","children":[{"title":"auth","children":[{"title":"index.ts <span style='color:#111;'> 310B </span>","children":null,"spread":false}],"spread":false},{"title":"index.ts <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"user","children":[{"title":"index.ts <span style='color:#111;'> 235B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"guards","children":[{"title":"index.ts <span style='color:#111;'> 81B </span>","children":null,"spread":false},{"title":"user-roles.guard.ts <span style='color:#111;'> 645B </span>","children":null,"spread":false}],"spread":true},{"title":"services","children":[{"title":"index.ts <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"user","children":[{"title":"index.ts <span style='color:#111;'> 69B </span>","children":null,"spread":false},{"title":"user.service.ts <span style='color:#111;'> 3.55KB </span>","children":null,"spread":false},{"title":"user-auth.service.ts <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false}],"spread":false},{"title":"abstract","children":[{"title":"index.ts <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":"auth.service.ts <span style='color:#111;'> 866B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"controllers","children":[{"title":"admin","children":[{"title":"index.ts <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"admin.controller.ts <span style='color:#111;'> 581B </span>","children":null,"spread":false}],"spread":false},{"title":"index.ts <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"user","children":[{"title":"user-auth.controller.ts <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"user.controller.ts <span style='color:#111;'> 3.19KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"decorators","children":[{"title":"index.ts <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"user-roles.decorator.ts <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":false},{"title":"helpers","children":[{"title":"encrypt.helper.ts <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"exception.helper.ts <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"token.helper.ts <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"enums","children":[{"title":"index.ts <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"user-status.enum.ts <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"gender.enum.ts <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"user-role.enum.ts <span style='color:#111;'> 65B </span>","children":null,"spread":false}],"spread":false},{"title":"api.module.ts <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"interfaces","children":[{"title":"index.ts <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"api-request.interface.ts <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":"token.interface.ts <span style='color:#111;'> 101B </span>","children":null,"spread":false},{"title":"pagination-options.interface.ts <span style='color:#111;'> 92B </span>","children":null,"spread":false}],"spread":false},{"title":"middlewares","children":[{"title":"index.ts <span style='color:#111;'> 40B </span>","children":null,"spread":false},{"title":"user-auth.middleware.ts <span style='color:#111;'> 662B </span>","children":null,"spread":false}],"spread":false},{"title":"pipes","children":[{"title":"index.ts <span style='color:#111;'> 80B </span>","children":null,"spread":false},{"title":"validation.pipe.ts <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 27B </span>","children":null,"spread":false}],"spread":true},{"title":"nest-cli.json <span style='color:#111;'> 64B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 651B </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;'> 630B </span>","children":null,"spread":false}],"spread":true},{"title":".prettierrc <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":".env.sample <span style='color:#111;'> 403B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 380B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 357.59KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 2.33KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]