├── .commitlintrc.json ├── .dockerignore ├── .editorconfig ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .lintstagedrc.json ├── .npmrc ├── .prettierignore ├── .prettierrc ├── Dockerfile ├── LICENSE ├── README.md ├── bruno └── NestJS Example app │ ├── Healthcheck.bru │ ├── Pokemon │ └── Last Modified.bru │ ├── Real Time Users.bru │ ├── User │ ├── Catch Pokemon.bru │ ├── Login Isma.bru │ ├── Login Maverick.bru │ ├── Me.bru │ ├── Refresh Token.bru │ ├── Register.bru │ ├── Update.bru │ └── folder.bru │ ├── bruno.json │ ├── collection.bru │ └── environments │ └── Localhost.bru ├── commitlint.config.js ├── docker-compose.db.yml ├── eslint.config.mjs ├── fly.toml ├── nest-cli.json ├── package.json ├── prisma ├── migrations │ ├── 20241218145504_ │ │ └── migration.sql │ └── migration_lock.toml ├── schema.prisma └── seed.ts ├── src ├── app.module.ts ├── core │ ├── constants │ │ └── default-language.const.ts │ ├── enums │ │ ├── app-error.enum.ts │ │ ├── environment.enum.ts │ │ ├── language.enum.ts │ │ └── prisma-error.enum.ts │ ├── filters │ │ └── exceptions.filter.ts │ ├── interceptors │ │ ├── language.interceptor.ts │ │ └── response.interceptor.ts │ └── services │ │ ├── google-analytics.service.ts │ │ └── language.service.ts ├── features │ ├── app-config │ │ ├── app-config.factory.ts │ │ ├── app-config.module.ts │ │ ├── app-config.service.ts │ │ └── app-config.validation.ts │ ├── authentication │ │ ├── authentication.controller.ts │ │ ├── authentication.guard.ts │ │ ├── authentication.module.ts │ │ ├── dto │ │ │ ├── login.request.ts │ │ │ ├── login.response.ts │ │ │ ├── refresh-token.request.ts │ │ │ ├── refresh-token.response.ts │ │ │ ├── register.request.ts │ │ │ └── register.response.ts │ │ └── services │ │ │ ├── authentication.service.ts │ │ │ └── token.service.ts │ ├── google-analytics │ │ ├── google-analytics.controller.ts │ │ └── google-analytics.module.ts │ ├── health │ │ ├── health.controller.ts │ │ ├── health.module.ts │ │ └── prisma-health.indicator.ts │ ├── pokemon │ │ ├── dto │ │ │ └── last-updated-pokemon.response.ts │ │ ├── pokemon.constants.ts │ │ ├── pokemon.controller.ts │ │ ├── pokemon.module.ts │ │ └── pokemon.service.ts │ └── user │ │ ├── dto │ │ ├── catch-pokemon.request.ts │ │ ├── get-me.response.ts │ │ ├── update-user.request.ts │ │ └── update-user.response.ts │ │ ├── user.controller.ts │ │ ├── user.module.ts │ │ ├── user.repository.ts │ │ └── user.service.ts └── main.ts ├── test └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json /.commitlintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/.commitlintrc.json -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | npx commitlint --edit 2 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npm run lint 2 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | # npm run test 2 | -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | engine-strict = true 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | coverage 3 | node_modules 4 | .idea 5 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/README.md -------------------------------------------------------------------------------- /bruno/NestJS Example app/Healthcheck.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/Healthcheck.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/Pokemon/Last Modified.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/Pokemon/Last Modified.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/Real Time Users.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/Real Time Users.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/Catch Pokemon.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/User/Catch Pokemon.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/Login Isma.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/User/Login Isma.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/Login Maverick.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/User/Login Maverick.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/Me.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/User/Me.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/Refresh Token.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/User/Refresh Token.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/Register.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/User/Register.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/Update.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/User/Update.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/User/folder.bru: -------------------------------------------------------------------------------- 1 | meta { 2 | name: User 3 | } 4 | -------------------------------------------------------------------------------- /bruno/NestJS Example app/bruno.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/bruno.json -------------------------------------------------------------------------------- /bruno/NestJS Example app/collection.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/collection.bru -------------------------------------------------------------------------------- /bruno/NestJS Example app/environments/Localhost.bru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/bruno/NestJS Example app/environments/Localhost.bru -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@commitlint/config-conventional'], 3 | }; 4 | -------------------------------------------------------------------------------- /docker-compose.db.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/docker-compose.db.yml -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /fly.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/fly.toml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/package.json -------------------------------------------------------------------------------- /prisma/migrations/20241218145504_/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/prisma/migrations/20241218145504_/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /prisma/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/prisma/seed.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/core/constants/default-language.const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/constants/default-language.const.ts -------------------------------------------------------------------------------- /src/core/enums/app-error.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/enums/app-error.enum.ts -------------------------------------------------------------------------------- /src/core/enums/environment.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/enums/environment.enum.ts -------------------------------------------------------------------------------- /src/core/enums/language.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/enums/language.enum.ts -------------------------------------------------------------------------------- /src/core/enums/prisma-error.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/enums/prisma-error.enum.ts -------------------------------------------------------------------------------- /src/core/filters/exceptions.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/filters/exceptions.filter.ts -------------------------------------------------------------------------------- /src/core/interceptors/language.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/interceptors/language.interceptor.ts -------------------------------------------------------------------------------- /src/core/interceptors/response.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/interceptors/response.interceptor.ts -------------------------------------------------------------------------------- /src/core/services/google-analytics.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/services/google-analytics.service.ts -------------------------------------------------------------------------------- /src/core/services/language.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/core/services/language.service.ts -------------------------------------------------------------------------------- /src/features/app-config/app-config.factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/app-config/app-config.factory.ts -------------------------------------------------------------------------------- /src/features/app-config/app-config.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/app-config/app-config.module.ts -------------------------------------------------------------------------------- /src/features/app-config/app-config.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/app-config/app-config.service.ts -------------------------------------------------------------------------------- /src/features/app-config/app-config.validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/app-config/app-config.validation.ts -------------------------------------------------------------------------------- /src/features/authentication/authentication.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/authentication.controller.ts -------------------------------------------------------------------------------- /src/features/authentication/authentication.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/authentication.guard.ts -------------------------------------------------------------------------------- /src/features/authentication/authentication.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/authentication.module.ts -------------------------------------------------------------------------------- /src/features/authentication/dto/login.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/dto/login.request.ts -------------------------------------------------------------------------------- /src/features/authentication/dto/login.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/dto/login.response.ts -------------------------------------------------------------------------------- /src/features/authentication/dto/refresh-token.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/dto/refresh-token.request.ts -------------------------------------------------------------------------------- /src/features/authentication/dto/refresh-token.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/dto/refresh-token.response.ts -------------------------------------------------------------------------------- /src/features/authentication/dto/register.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/dto/register.request.ts -------------------------------------------------------------------------------- /src/features/authentication/dto/register.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/dto/register.response.ts -------------------------------------------------------------------------------- /src/features/authentication/services/authentication.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/services/authentication.service.ts -------------------------------------------------------------------------------- /src/features/authentication/services/token.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/authentication/services/token.service.ts -------------------------------------------------------------------------------- /src/features/google-analytics/google-analytics.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/google-analytics/google-analytics.controller.ts -------------------------------------------------------------------------------- /src/features/google-analytics/google-analytics.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/google-analytics/google-analytics.module.ts -------------------------------------------------------------------------------- /src/features/health/health.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/health/health.controller.ts -------------------------------------------------------------------------------- /src/features/health/health.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/health/health.module.ts -------------------------------------------------------------------------------- /src/features/health/prisma-health.indicator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/health/prisma-health.indicator.ts -------------------------------------------------------------------------------- /src/features/pokemon/dto/last-updated-pokemon.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/pokemon/dto/last-updated-pokemon.response.ts -------------------------------------------------------------------------------- /src/features/pokemon/pokemon.constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/pokemon/pokemon.constants.ts -------------------------------------------------------------------------------- /src/features/pokemon/pokemon.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/pokemon/pokemon.controller.ts -------------------------------------------------------------------------------- /src/features/pokemon/pokemon.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/pokemon/pokemon.module.ts -------------------------------------------------------------------------------- /src/features/pokemon/pokemon.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/pokemon/pokemon.service.ts -------------------------------------------------------------------------------- /src/features/user/dto/catch-pokemon.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/dto/catch-pokemon.request.ts -------------------------------------------------------------------------------- /src/features/user/dto/get-me.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/dto/get-me.response.ts -------------------------------------------------------------------------------- /src/features/user/dto/update-user.request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/dto/update-user.request.ts -------------------------------------------------------------------------------- /src/features/user/dto/update-user.response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/dto/update-user.response.ts -------------------------------------------------------------------------------- /src/features/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/user.controller.ts -------------------------------------------------------------------------------- /src/features/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/user.module.ts -------------------------------------------------------------------------------- /src/features/user/user.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/user.repository.ts -------------------------------------------------------------------------------- /src/features/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/features/user/user.service.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/src/main.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ismaestro/nestjs-example-app/HEAD/tsconfig.json --------------------------------------------------------------------------------