├── .env.dev ├── .env.prod ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── _.env ├── docker-compose.yml ├── nest-cli.json ├── package.json ├── prisma ├── migrations │ ├── 20230513114833_init │ │ └── migration.sql │ ├── 20230516112025_user │ │ └── migration.sql │ ├── 20230519114742_user_name_uniqe │ │ └── migration.sql │ ├── 20230520084009_article_table_add │ │ └── migration.sql │ ├── 20230520100547_article_relation_user │ │ └── migration.sql │ ├── 20230524083311_add_relation_user_article_favorite │ │ └── migration.sql │ ├── 20230526165600_relation_delete_cascad_test │ │ └── migration.sql │ ├── 20230527132655_add_cascade_delete │ │ └── migration.sql │ ├── 20230607105259_user_following │ │ └── migration.sql │ ├── 20230612122655_tag_relation_article │ │ └── migration.sql │ ├── 20230703111021_comment │ │ └── migration.sql │ └── migration_lock.toml ├── schema.prisma └── seed │ ├── article.ts │ ├── articleToTag.ts │ ├── index.ts │ ├── seed.ts │ ├── tag.ts │ ├── user.ts │ ├── userToArticle.ts │ └── userToUser.ts ├── project-logo.png ├── src ├── app.module.ts ├── article │ ├── article.check.ts │ ├── article.controller.ts │ ├── article.helper.ts │ ├── article.interface.ts │ ├── article.module.ts │ ├── article.repository.ts │ ├── article.select.ts │ ├── article.service.ts │ ├── article.transaction.ts │ ├── article.type.ts │ ├── dto │ │ ├── articleCreate.dto.ts │ │ ├── articleFullDataSerialized.dto.ts │ │ ├── articlePrepate.dto.ts │ │ ├── articlePrepateCreate.dto.ts │ │ ├── articlePrepateUpdate.dto.ts │ │ ├── articleRelationData.dto.ts │ │ ├── articleUpdate.dto.ts │ │ ├── db │ │ │ └── articleToDB.dto.ts │ │ ├── reqArticleCreate.dto.ts │ │ ├── reqArticleUpdate.dto.ts │ │ ├── resArticle.dto.ts │ │ └── resArticleFeed.dto.ts │ └── entity │ │ ├── _articleBuild.entity.ts │ │ ├── article.entity.ts │ │ └── aticleWithRelation.entity.ts ├── articleToTag │ ├── articleToTag.module.ts │ ├── articleToTag.repository.ts │ └── articleToTag.service.ts ├── auth │ ├── auth.module.ts │ ├── auth.service.spec.ts │ ├── auth.service.ts │ ├── dto │ │ ├── create-auth.dto.ts │ │ └── update-auth.dto.ts │ ├── entities │ │ └── auth.entity.ts │ ├── guard │ │ └── auth.guard.ts │ └── iterface │ │ └── auth.interface.ts ├── comment │ ├── comment.check.ts │ ├── comment.module.ts │ ├── comment.repository.ts │ ├── comment.select.ts │ ├── comment.service.spec.ts │ ├── comment.service.ts │ ├── dto │ │ ├── commentCreate.dto.ts │ │ ├── commentFullDataSerialized.dto.ts │ │ ├── commentUpdate.dto.ts │ │ ├── commentWithRelatio.dto.ts │ │ ├── db │ │ │ └── commentToDB.dto.ts │ │ ├── resComment.dto.ts │ │ └── resCommentList.dto.ts │ └── entity │ │ ├── comment.entity.ts │ │ └── commentWithRelation.entity.ts ├── common │ ├── common.exception.ts │ ├── common.filter.ts │ ├── common.interface.ts │ ├── common.module.ts │ ├── common.pipe.ts │ ├── common.service.ts │ ├── common.transaction.ts │ └── common.type.ts ├── follow │ ├── entity │ │ └── follow.entity.ts │ ├── follow.check.ts │ ├── follow.module.ts │ ├── follow.repository.ts │ └── follow.service.ts ├── main.ts ├── prisma │ ├── prisma.module.ts │ ├── prisma.service.spec.ts │ └── prisma.service.ts ├── profile │ ├── dto │ │ ├── profile.dto.ts │ │ ├── profileBuildResponse.dto.ts │ │ ├── profileClear.dto.ts │ │ └── profileResponse.dto.ts │ ├── profile.controller.ts │ ├── profile.module.ts │ ├── profile.repository.ts │ └── profile.service.ts ├── tag │ ├── dto │ │ └── resTagList.dto.ts │ ├── entity │ │ ├── tag.entity.ts │ │ └── tagResponse.entity.ts │ ├── tag.controller.ts │ ├── tag.module.ts │ ├── tag.repository.ts │ └── tag.service.ts └── user │ ├── dto │ ├── resUser.dto.ts │ ├── resUserWithToken.dto.ts │ ├── userClear.dto.ts │ ├── userCreate.dto.ts │ ├── userLogin.dto.ts │ ├── userRequestCreate.dto.ts │ ├── userRequestLogin.dto.ts │ ├── userRequestUpdate.dto.ts │ ├── userUpdate.dto.ts │ └── userWithToken.dto.ts │ ├── entity │ ├── user.entity.ts │ └── userAuthor.entity.ts │ ├── type │ ├── _userResponseInterface.ts │ └── tokenDecode.interface.ts │ ├── user.check.ts │ ├── user.controller.ts │ ├── user.entity.ts │ ├── user.module.ts │ ├── user.repository.ts │ └── user.service.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.env.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/.env.dev -------------------------------------------------------------------------------- /.env.prod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/.env.prod -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/README.md -------------------------------------------------------------------------------- /_.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/_.env -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/package.json -------------------------------------------------------------------------------- /prisma/migrations/20230513114833_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230513114833_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230516112025_user/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230516112025_user/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230519114742_user_name_uniqe/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230519114742_user_name_uniqe/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230520084009_article_table_add/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230520084009_article_table_add/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230520100547_article_relation_user/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230520100547_article_relation_user/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230524083311_add_relation_user_article_favorite/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230524083311_add_relation_user_article_favorite/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230526165600_relation_delete_cascad_test/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230526165600_relation_delete_cascad_test/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230527132655_add_cascade_delete/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230527132655_add_cascade_delete/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230607105259_user_following/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230607105259_user_following/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230612122655_tag_relation_article/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230612122655_tag_relation_article/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20230703111021_comment/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/20230703111021_comment/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /prisma/seed/article.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/article.ts -------------------------------------------------------------------------------- /prisma/seed/articleToTag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/articleToTag.ts -------------------------------------------------------------------------------- /prisma/seed/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/index.ts -------------------------------------------------------------------------------- /prisma/seed/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/seed.ts -------------------------------------------------------------------------------- /prisma/seed/tag.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/tag.ts -------------------------------------------------------------------------------- /prisma/seed/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/user.ts -------------------------------------------------------------------------------- /prisma/seed/userToArticle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/userToArticle.ts -------------------------------------------------------------------------------- /prisma/seed/userToUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/prisma/seed/userToUser.ts -------------------------------------------------------------------------------- /project-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/project-logo.png -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/article/article.check.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.check.ts -------------------------------------------------------------------------------- /src/article/article.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.controller.ts -------------------------------------------------------------------------------- /src/article/article.helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.helper.ts -------------------------------------------------------------------------------- /src/article/article.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.interface.ts -------------------------------------------------------------------------------- /src/article/article.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.module.ts -------------------------------------------------------------------------------- /src/article/article.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.repository.ts -------------------------------------------------------------------------------- /src/article/article.select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.select.ts -------------------------------------------------------------------------------- /src/article/article.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.service.ts -------------------------------------------------------------------------------- /src/article/article.transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.transaction.ts -------------------------------------------------------------------------------- /src/article/article.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/article.type.ts -------------------------------------------------------------------------------- /src/article/dto/articleCreate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/articleCreate.dto.ts -------------------------------------------------------------------------------- /src/article/dto/articleFullDataSerialized.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/articleFullDataSerialized.dto.ts -------------------------------------------------------------------------------- /src/article/dto/articlePrepate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/articlePrepate.dto.ts -------------------------------------------------------------------------------- /src/article/dto/articlePrepateCreate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/articlePrepateCreate.dto.ts -------------------------------------------------------------------------------- /src/article/dto/articlePrepateUpdate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/articlePrepateUpdate.dto.ts -------------------------------------------------------------------------------- /src/article/dto/articleRelationData.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/articleRelationData.dto.ts -------------------------------------------------------------------------------- /src/article/dto/articleUpdate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/articleUpdate.dto.ts -------------------------------------------------------------------------------- /src/article/dto/db/articleToDB.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/db/articleToDB.dto.ts -------------------------------------------------------------------------------- /src/article/dto/reqArticleCreate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/reqArticleCreate.dto.ts -------------------------------------------------------------------------------- /src/article/dto/reqArticleUpdate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/reqArticleUpdate.dto.ts -------------------------------------------------------------------------------- /src/article/dto/resArticle.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/resArticle.dto.ts -------------------------------------------------------------------------------- /src/article/dto/resArticleFeed.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/dto/resArticleFeed.dto.ts -------------------------------------------------------------------------------- /src/article/entity/_articleBuild.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/entity/_articleBuild.entity.ts -------------------------------------------------------------------------------- /src/article/entity/article.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/entity/article.entity.ts -------------------------------------------------------------------------------- /src/article/entity/aticleWithRelation.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/article/entity/aticleWithRelation.entity.ts -------------------------------------------------------------------------------- /src/articleToTag/articleToTag.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/articleToTag/articleToTag.module.ts -------------------------------------------------------------------------------- /src/articleToTag/articleToTag.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/articleToTag/articleToTag.repository.ts -------------------------------------------------------------------------------- /src/articleToTag/articleToTag.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/articleToTag/articleToTag.service.ts -------------------------------------------------------------------------------- /src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/auth/auth.module.ts -------------------------------------------------------------------------------- /src/auth/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/auth/auth.service.spec.ts -------------------------------------------------------------------------------- /src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/auth/auth.service.ts -------------------------------------------------------------------------------- /src/auth/dto/create-auth.dto.ts: -------------------------------------------------------------------------------- 1 | export class CreateAuthDto {} 2 | -------------------------------------------------------------------------------- /src/auth/dto/update-auth.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/auth/dto/update-auth.dto.ts -------------------------------------------------------------------------------- /src/auth/entities/auth.entity.ts: -------------------------------------------------------------------------------- 1 | export class Auth {} 2 | -------------------------------------------------------------------------------- /src/auth/guard/auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/auth/guard/auth.guard.ts -------------------------------------------------------------------------------- /src/auth/iterface/auth.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/auth/iterface/auth.interface.ts -------------------------------------------------------------------------------- /src/comment/comment.check.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/comment.check.ts -------------------------------------------------------------------------------- /src/comment/comment.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/comment.module.ts -------------------------------------------------------------------------------- /src/comment/comment.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/comment.repository.ts -------------------------------------------------------------------------------- /src/comment/comment.select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/comment.select.ts -------------------------------------------------------------------------------- /src/comment/comment.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/comment.service.spec.ts -------------------------------------------------------------------------------- /src/comment/comment.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/comment.service.ts -------------------------------------------------------------------------------- /src/comment/dto/commentCreate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/dto/commentCreate.dto.ts -------------------------------------------------------------------------------- /src/comment/dto/commentFullDataSerialized.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/dto/commentFullDataSerialized.dto.ts -------------------------------------------------------------------------------- /src/comment/dto/commentUpdate.dto.ts: -------------------------------------------------------------------------------- 1 | export class CommentUpdateDto {} 2 | -------------------------------------------------------------------------------- /src/comment/dto/commentWithRelatio.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/dto/commentWithRelatio.dto.ts -------------------------------------------------------------------------------- /src/comment/dto/db/commentToDB.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/dto/db/commentToDB.dto.ts -------------------------------------------------------------------------------- /src/comment/dto/resComment.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/dto/resComment.dto.ts -------------------------------------------------------------------------------- /src/comment/dto/resCommentList.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/dto/resCommentList.dto.ts -------------------------------------------------------------------------------- /src/comment/entity/comment.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/entity/comment.entity.ts -------------------------------------------------------------------------------- /src/comment/entity/commentWithRelation.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/comment/entity/commentWithRelation.entity.ts -------------------------------------------------------------------------------- /src/common/common.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.exception.ts -------------------------------------------------------------------------------- /src/common/common.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.filter.ts -------------------------------------------------------------------------------- /src/common/common.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.interface.ts -------------------------------------------------------------------------------- /src/common/common.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.module.ts -------------------------------------------------------------------------------- /src/common/common.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.pipe.ts -------------------------------------------------------------------------------- /src/common/common.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.service.ts -------------------------------------------------------------------------------- /src/common/common.transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.transaction.ts -------------------------------------------------------------------------------- /src/common/common.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/common/common.type.ts -------------------------------------------------------------------------------- /src/follow/entity/follow.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/follow/entity/follow.entity.ts -------------------------------------------------------------------------------- /src/follow/follow.check.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/follow/follow.check.ts -------------------------------------------------------------------------------- /src/follow/follow.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/follow/follow.module.ts -------------------------------------------------------------------------------- /src/follow/follow.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/follow/follow.repository.ts -------------------------------------------------------------------------------- /src/follow/follow.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/follow/follow.service.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/prisma/prisma.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/prisma/prisma.module.ts -------------------------------------------------------------------------------- /src/prisma/prisma.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/prisma/prisma.service.spec.ts -------------------------------------------------------------------------------- /src/prisma/prisma.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/prisma/prisma.service.ts -------------------------------------------------------------------------------- /src/profile/dto/profile.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/profile/dto/profile.dto.ts -------------------------------------------------------------------------------- /src/profile/dto/profileBuildResponse.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/profile/dto/profileBuildResponse.dto.ts -------------------------------------------------------------------------------- /src/profile/dto/profileClear.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/profile/dto/profileClear.dto.ts -------------------------------------------------------------------------------- /src/profile/dto/profileResponse.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/profile/dto/profileResponse.dto.ts -------------------------------------------------------------------------------- /src/profile/profile.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/profile/profile.controller.ts -------------------------------------------------------------------------------- /src/profile/profile.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/profile/profile.module.ts -------------------------------------------------------------------------------- /src/profile/profile.repository.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/profile/profile.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/profile/profile.service.ts -------------------------------------------------------------------------------- /src/tag/dto/resTagList.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/tag/dto/resTagList.dto.ts -------------------------------------------------------------------------------- /src/tag/entity/tag.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/tag/entity/tag.entity.ts -------------------------------------------------------------------------------- /src/tag/entity/tagResponse.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/tag/entity/tagResponse.entity.ts -------------------------------------------------------------------------------- /src/tag/tag.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/tag/tag.controller.ts -------------------------------------------------------------------------------- /src/tag/tag.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/tag/tag.module.ts -------------------------------------------------------------------------------- /src/tag/tag.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/tag/tag.repository.ts -------------------------------------------------------------------------------- /src/tag/tag.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/tag/tag.service.ts -------------------------------------------------------------------------------- /src/user/dto/resUser.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/resUser.dto.ts -------------------------------------------------------------------------------- /src/user/dto/resUserWithToken.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/resUserWithToken.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userClear.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userClear.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userCreate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userCreate.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userLogin.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userLogin.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userRequestCreate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userRequestCreate.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userRequestLogin.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userRequestLogin.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userRequestUpdate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userRequestUpdate.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userUpdate.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userUpdate.dto.ts -------------------------------------------------------------------------------- /src/user/dto/userWithToken.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/dto/userWithToken.dto.ts -------------------------------------------------------------------------------- /src/user/entity/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/entity/user.entity.ts -------------------------------------------------------------------------------- /src/user/entity/userAuthor.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/entity/userAuthor.entity.ts -------------------------------------------------------------------------------- /src/user/type/_userResponseInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/type/_userResponseInterface.ts -------------------------------------------------------------------------------- /src/user/type/tokenDecode.interface.ts: -------------------------------------------------------------------------------- 1 | export interface TokenDecode { 2 | id: number; 3 | [key: string]: any; 4 | } 5 | -------------------------------------------------------------------------------- /src/user/user.check.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/user.check.ts -------------------------------------------------------------------------------- /src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/user.controller.ts -------------------------------------------------------------------------------- /src/user/user.entity.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/user.module.ts -------------------------------------------------------------------------------- /src/user/user.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/user.repository.ts -------------------------------------------------------------------------------- /src/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/src/user/user.service.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mr-scrpt/medium-nest-prisma/HEAD/yarn.lock --------------------------------------------------------------------------------