├── .editorconfig ├── .env.example ├── .eslintrc.js ├── .github └── file-upload-nestjs.png ├── .gitignore ├── .prettierrc ├── README.md ├── docker-compose.yml ├── nest-cli.json ├── package.json ├── src ├── app.module.ts ├── main.ts ├── modules │ └── posts │ │ ├── controller │ │ ├── posts.controller.spec.ts │ │ └── posts.controller.ts │ │ ├── dtos │ │ └── create-post.dto.ts │ │ ├── entity │ │ └── posts.entity.ts │ │ ├── posts.module.ts │ │ └── service │ │ ├── posts.service.spec.ts │ │ └── posts.service.ts └── shared │ ├── config │ ├── multer.config.ts │ └── typeorm.config.ts │ └── database │ └── migrations │ └── 1602257007838-CreatePostTable.ts ├── test ├── jest-e2e.json └── util │ └── test.util.ts ├── tsconfig.build.json ├── tsconfig.json ├── uploads └── .gitkeep └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/file-upload-nestjs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/.github/file-upload-nestjs.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/package.json -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/modules/posts/controller/posts.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/modules/posts/controller/posts.controller.spec.ts -------------------------------------------------------------------------------- /src/modules/posts/controller/posts.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/modules/posts/controller/posts.controller.ts -------------------------------------------------------------------------------- /src/modules/posts/dtos/create-post.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/modules/posts/dtos/create-post.dto.ts -------------------------------------------------------------------------------- /src/modules/posts/entity/posts.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/modules/posts/entity/posts.entity.ts -------------------------------------------------------------------------------- /src/modules/posts/posts.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/modules/posts/posts.module.ts -------------------------------------------------------------------------------- /src/modules/posts/service/posts.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/modules/posts/service/posts.service.spec.ts -------------------------------------------------------------------------------- /src/modules/posts/service/posts.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/modules/posts/service/posts.service.ts -------------------------------------------------------------------------------- /src/shared/config/multer.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/shared/config/multer.config.ts -------------------------------------------------------------------------------- /src/shared/config/typeorm.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/shared/config/typeorm.config.ts -------------------------------------------------------------------------------- /src/shared/database/migrations/1602257007838-CreatePostTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/src/shared/database/migrations/1602257007838-CreatePostTable.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /test/util/test.util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/test/util/test.util.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /uploads/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goncadanilo/file-upload-nestjs/HEAD/yarn.lock --------------------------------------------------------------------------------