├── .env ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── environment.d.ts ├── nest-cli.json ├── package.json ├── src ├── app.module.ts ├── auth │ ├── auth.module.ts │ ├── controllers │ │ └── auth │ │ │ ├── auth.controller.spec.ts │ │ │ └── auth.controller.ts │ ├── services │ │ └── auth │ │ │ ├── auth.service.spec.ts │ │ │ ├── auth.service.ts │ │ │ └── auth.ts │ └── utils │ │ ├── DiscordStrategy.ts │ │ ├── Guards.ts │ │ └── Serializer.ts ├── discord │ ├── discord.module.ts │ ├── discord.service.spec.ts │ ├── discord.service.ts │ └── discord.ts ├── graphql │ ├── index.graphql │ ├── index.ts │ └── resolvers │ │ └── User.resolver.ts ├── main.ts ├── typeorm │ ├── entities │ │ ├── Session.ts │ │ └── User.ts │ └── index.ts └── utils │ └── types.ts ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/.env -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/README.md -------------------------------------------------------------------------------- /environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/environment.d.ts -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/package.json -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/auth.module.ts -------------------------------------------------------------------------------- /src/auth/controllers/auth/auth.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/controllers/auth/auth.controller.spec.ts -------------------------------------------------------------------------------- /src/auth/controllers/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/controllers/auth/auth.controller.ts -------------------------------------------------------------------------------- /src/auth/services/auth/auth.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/services/auth/auth.service.spec.ts -------------------------------------------------------------------------------- /src/auth/services/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/services/auth/auth.service.ts -------------------------------------------------------------------------------- /src/auth/services/auth/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/services/auth/auth.ts -------------------------------------------------------------------------------- /src/auth/utils/DiscordStrategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/utils/DiscordStrategy.ts -------------------------------------------------------------------------------- /src/auth/utils/Guards.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/utils/Guards.ts -------------------------------------------------------------------------------- /src/auth/utils/Serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/auth/utils/Serializer.ts -------------------------------------------------------------------------------- /src/discord/discord.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/discord/discord.module.ts -------------------------------------------------------------------------------- /src/discord/discord.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/discord/discord.service.spec.ts -------------------------------------------------------------------------------- /src/discord/discord.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/discord/discord.service.ts -------------------------------------------------------------------------------- /src/discord/discord.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/discord/discord.ts -------------------------------------------------------------------------------- /src/graphql/index.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/graphql/index.graphql -------------------------------------------------------------------------------- /src/graphql/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/graphql/index.ts -------------------------------------------------------------------------------- /src/graphql/resolvers/User.resolver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/graphql/resolvers/User.resolver.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/typeorm/entities/Session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/typeorm/entities/Session.ts -------------------------------------------------------------------------------- /src/typeorm/entities/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/typeorm/entities/User.ts -------------------------------------------------------------------------------- /src/typeorm/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/typeorm/index.ts -------------------------------------------------------------------------------- /src/utils/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/src/utils/types.ts -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stuyy/nestjs-graphql-typeorm-discord-backend/HEAD/yarn.lock --------------------------------------------------------------------------------