├── .dockerignore ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── apps ├── auth │ ├── .env │ ├── Dockerfile │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── auth.service.ts │ │ ├── guards │ │ │ ├── jwt-auth.guard.ts │ │ │ └── local-auth.guard.ts │ │ ├── interfaces │ │ │ └── token-payload.interface.ts │ │ ├── main.ts │ │ ├── strategies │ │ │ ├── jwt.strategy.ts │ │ │ └── local.strategy.ts │ │ └── users │ │ │ ├── dto │ │ │ ├── create-user.dto.ts │ │ │ └── get-user.dto.ts │ │ │ ├── users.controller.spec.ts │ │ │ ├── users.controller.ts │ │ │ ├── users.module.ts │ │ │ ├── users.repository.ts │ │ │ ├── users.service.spec.ts │ │ │ └── users.service.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ └── tsconfig.app.json ├── notifications │ ├── .env │ ├── Dockerfile │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ │ ├── dto │ │ │ └── notify-email.dto.ts │ │ ├── main.ts │ │ ├── notifications.controller.ts │ │ ├── notifications.module.ts │ │ └── notifications.service.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ └── tsconfig.app.json ├── payments │ ├── .env │ ├── Dockerfile │ ├── package.json │ ├── pnpm-lock.yaml │ ├── src │ │ ├── dto │ │ │ └── payments-create-charge.dto.ts │ │ ├── main.ts │ │ ├── payments.controller.ts │ │ ├── payments.module.ts │ │ └── payments.service.ts │ ├── test │ │ ├── app.e2e-spec.ts │ │ └── jest-e2e.json │ └── tsconfig.app.json └── reservations │ ├── .env │ ├── Dockerfile │ ├── src │ ├── dto │ │ ├── create-reservation.dto.ts │ │ └── update-reservation.dto.ts │ ├── main.ts │ ├── models │ │ └── reservation.schema.ts │ ├── reservations.controller.spec.ts │ ├── reservations.controller.ts │ ├── reservations.module.ts │ ├── reservations.repository.ts │ ├── reservations.service.spec.ts │ └── reservations.service.ts │ ├── test │ ├── app.e2e-spec.ts │ └── jest-e2e.json │ └── tsconfig.app.json ├── cloudbuild.yaml ├── docker-compose.yaml ├── e2e ├── Dockerfile ├── docker-compose.yaml ├── jest.config.ts ├── package.json ├── pnpm-lock.yaml ├── specs │ ├── healthcheck.e2e.spec.ts │ └── reservations.e2e.spec.ts └── tsconfig.json ├── k8s └── sleepr │ ├── .helmignore │ ├── Chart.yaml │ ├── templates │ ├── auth │ │ ├── deployment.yaml │ │ ├── service-http.yaml │ │ └── service-tcp.yaml │ ├── ingress.yaml │ ├── notifications │ │ ├── deployment.yaml │ │ └── service.yaml │ ├── payments │ │ ├── deployment.yaml │ │ └── service.yaml │ └── reservations │ │ ├── deployment.yaml │ │ └── service.yaml │ └── values.yaml ├── libs └── common │ ├── src │ ├── auth │ │ ├── index.ts │ │ └── jwt-auth.guard.ts │ ├── constants │ │ ├── index.ts │ │ └── services.ts │ ├── database │ │ ├── abstract.repository.ts │ │ ├── abstract.schema.ts │ │ ├── database.module.ts │ │ └── index.ts │ ├── decorators │ │ ├── current-user.decorator.ts │ │ ├── index.ts │ │ └── roles.decorator.ts │ ├── dto │ │ ├── card.dto.ts │ │ ├── create-charge.dto.ts │ │ ├── index.ts │ │ └── user.dto.ts │ ├── health │ │ ├── health.controller.ts │ │ ├── health.module.ts │ │ └── index.ts │ ├── index.ts │ ├── logger │ │ ├── index.ts │ │ └── logger.module.ts │ └── models │ │ ├── index.ts │ │ └── user.schema.ts │ └── tsconfig.lib.json ├── nest-cli.json ├── package.json ├── pnpm-lock.yaml ├── tsconfig.build.json └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/README.md -------------------------------------------------------------------------------- /apps/auth/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/.env -------------------------------------------------------------------------------- /apps/auth/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/Dockerfile -------------------------------------------------------------------------------- /apps/auth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/package.json -------------------------------------------------------------------------------- /apps/auth/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/pnpm-lock.yaml -------------------------------------------------------------------------------- /apps/auth/src/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/auth.controller.ts -------------------------------------------------------------------------------- /apps/auth/src/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/auth.module.ts -------------------------------------------------------------------------------- /apps/auth/src/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/auth.service.ts -------------------------------------------------------------------------------- /apps/auth/src/guards/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/guards/jwt-auth.guard.ts -------------------------------------------------------------------------------- /apps/auth/src/guards/local-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/guards/local-auth.guard.ts -------------------------------------------------------------------------------- /apps/auth/src/interfaces/token-payload.interface.ts: -------------------------------------------------------------------------------- 1 | export interface TokenPayload { 2 | userId: string; 3 | } 4 | -------------------------------------------------------------------------------- /apps/auth/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/main.ts -------------------------------------------------------------------------------- /apps/auth/src/strategies/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/strategies/jwt.strategy.ts -------------------------------------------------------------------------------- /apps/auth/src/strategies/local.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/strategies/local.strategy.ts -------------------------------------------------------------------------------- /apps/auth/src/users/dto/create-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/dto/create-user.dto.ts -------------------------------------------------------------------------------- /apps/auth/src/users/dto/get-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/dto/get-user.dto.ts -------------------------------------------------------------------------------- /apps/auth/src/users/users.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/users.controller.spec.ts -------------------------------------------------------------------------------- /apps/auth/src/users/users.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/users.controller.ts -------------------------------------------------------------------------------- /apps/auth/src/users/users.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/users.module.ts -------------------------------------------------------------------------------- /apps/auth/src/users/users.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/users.repository.ts -------------------------------------------------------------------------------- /apps/auth/src/users/users.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/users.service.spec.ts -------------------------------------------------------------------------------- /apps/auth/src/users/users.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/src/users/users.service.ts -------------------------------------------------------------------------------- /apps/auth/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /apps/auth/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/test/jest-e2e.json -------------------------------------------------------------------------------- /apps/auth/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/auth/tsconfig.app.json -------------------------------------------------------------------------------- /apps/notifications/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/.env -------------------------------------------------------------------------------- /apps/notifications/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/Dockerfile -------------------------------------------------------------------------------- /apps/notifications/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/package.json -------------------------------------------------------------------------------- /apps/notifications/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/pnpm-lock.yaml -------------------------------------------------------------------------------- /apps/notifications/src/dto/notify-email.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/src/dto/notify-email.dto.ts -------------------------------------------------------------------------------- /apps/notifications/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/src/main.ts -------------------------------------------------------------------------------- /apps/notifications/src/notifications.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/src/notifications.controller.ts -------------------------------------------------------------------------------- /apps/notifications/src/notifications.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/src/notifications.module.ts -------------------------------------------------------------------------------- /apps/notifications/src/notifications.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/src/notifications.service.ts -------------------------------------------------------------------------------- /apps/notifications/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /apps/notifications/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/test/jest-e2e.json -------------------------------------------------------------------------------- /apps/notifications/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/notifications/tsconfig.app.json -------------------------------------------------------------------------------- /apps/payments/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/.env -------------------------------------------------------------------------------- /apps/payments/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/Dockerfile -------------------------------------------------------------------------------- /apps/payments/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/package.json -------------------------------------------------------------------------------- /apps/payments/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/pnpm-lock.yaml -------------------------------------------------------------------------------- /apps/payments/src/dto/payments-create-charge.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/src/dto/payments-create-charge.dto.ts -------------------------------------------------------------------------------- /apps/payments/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/src/main.ts -------------------------------------------------------------------------------- /apps/payments/src/payments.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/src/payments.controller.ts -------------------------------------------------------------------------------- /apps/payments/src/payments.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/src/payments.module.ts -------------------------------------------------------------------------------- /apps/payments/src/payments.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/src/payments.service.ts -------------------------------------------------------------------------------- /apps/payments/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /apps/payments/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/test/jest-e2e.json -------------------------------------------------------------------------------- /apps/payments/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/payments/tsconfig.app.json -------------------------------------------------------------------------------- /apps/reservations/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/.env -------------------------------------------------------------------------------- /apps/reservations/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/Dockerfile -------------------------------------------------------------------------------- /apps/reservations/src/dto/create-reservation.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/dto/create-reservation.dto.ts -------------------------------------------------------------------------------- /apps/reservations/src/dto/update-reservation.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/dto/update-reservation.dto.ts -------------------------------------------------------------------------------- /apps/reservations/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/main.ts -------------------------------------------------------------------------------- /apps/reservations/src/models/reservation.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/models/reservation.schema.ts -------------------------------------------------------------------------------- /apps/reservations/src/reservations.controller.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/reservations.controller.spec.ts -------------------------------------------------------------------------------- /apps/reservations/src/reservations.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/reservations.controller.ts -------------------------------------------------------------------------------- /apps/reservations/src/reservations.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/reservations.module.ts -------------------------------------------------------------------------------- /apps/reservations/src/reservations.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/reservations.repository.ts -------------------------------------------------------------------------------- /apps/reservations/src/reservations.service.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/reservations.service.spec.ts -------------------------------------------------------------------------------- /apps/reservations/src/reservations.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/src/reservations.service.ts -------------------------------------------------------------------------------- /apps/reservations/test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /apps/reservations/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/test/jest-e2e.json -------------------------------------------------------------------------------- /apps/reservations/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/apps/reservations/tsconfig.app.json -------------------------------------------------------------------------------- /cloudbuild.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/cloudbuild.yaml -------------------------------------------------------------------------------- /docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/docker-compose.yaml -------------------------------------------------------------------------------- /e2e/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/e2e/Dockerfile -------------------------------------------------------------------------------- /e2e/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/e2e/docker-compose.yaml -------------------------------------------------------------------------------- /e2e/jest.config.ts: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'ts-jest', 3 | }; 4 | -------------------------------------------------------------------------------- /e2e/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/e2e/package.json -------------------------------------------------------------------------------- /e2e/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/e2e/pnpm-lock.yaml -------------------------------------------------------------------------------- /e2e/specs/healthcheck.e2e.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/e2e/specs/healthcheck.e2e.spec.ts -------------------------------------------------------------------------------- /e2e/specs/reservations.e2e.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/e2e/specs/reservations.e2e.spec.ts -------------------------------------------------------------------------------- /e2e/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/e2e/tsconfig.json -------------------------------------------------------------------------------- /k8s/sleepr/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/.helmignore -------------------------------------------------------------------------------- /k8s/sleepr/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/Chart.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/auth/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/auth/deployment.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/auth/service-http.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/auth/service-http.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/auth/service-tcp.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/auth/service-tcp.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/ingress.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/notifications/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/notifications/deployment.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/notifications/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/notifications/service.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/payments/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/payments/deployment.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/payments/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/payments/service.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/reservations/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/reservations/deployment.yaml -------------------------------------------------------------------------------- /k8s/sleepr/templates/reservations/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/k8s/sleepr/templates/reservations/service.yaml -------------------------------------------------------------------------------- /k8s/sleepr/values.yaml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /libs/common/src/auth/index.ts: -------------------------------------------------------------------------------- 1 | export * from './jwt-auth.guard'; 2 | -------------------------------------------------------------------------------- /libs/common/src/auth/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/auth/jwt-auth.guard.ts -------------------------------------------------------------------------------- /libs/common/src/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from './services'; 2 | -------------------------------------------------------------------------------- /libs/common/src/constants/services.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/constants/services.ts -------------------------------------------------------------------------------- /libs/common/src/database/abstract.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/database/abstract.repository.ts -------------------------------------------------------------------------------- /libs/common/src/database/abstract.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/database/abstract.schema.ts -------------------------------------------------------------------------------- /libs/common/src/database/database.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/database/database.module.ts -------------------------------------------------------------------------------- /libs/common/src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/database/index.ts -------------------------------------------------------------------------------- /libs/common/src/decorators/current-user.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/decorators/current-user.decorator.ts -------------------------------------------------------------------------------- /libs/common/src/decorators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/decorators/index.ts -------------------------------------------------------------------------------- /libs/common/src/decorators/roles.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/decorators/roles.decorator.ts -------------------------------------------------------------------------------- /libs/common/src/dto/card.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/dto/card.dto.ts -------------------------------------------------------------------------------- /libs/common/src/dto/create-charge.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/dto/create-charge.dto.ts -------------------------------------------------------------------------------- /libs/common/src/dto/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/dto/index.ts -------------------------------------------------------------------------------- /libs/common/src/dto/user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/dto/user.dto.ts -------------------------------------------------------------------------------- /libs/common/src/health/health.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/health/health.controller.ts -------------------------------------------------------------------------------- /libs/common/src/health/health.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/health/health.module.ts -------------------------------------------------------------------------------- /libs/common/src/health/index.ts: -------------------------------------------------------------------------------- 1 | export * from './health.module'; 2 | -------------------------------------------------------------------------------- /libs/common/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/index.ts -------------------------------------------------------------------------------- /libs/common/src/logger/index.ts: -------------------------------------------------------------------------------- 1 | export * from './logger.module'; 2 | -------------------------------------------------------------------------------- /libs/common/src/logger/logger.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/logger/logger.module.ts -------------------------------------------------------------------------------- /libs/common/src/models/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user.schema'; 2 | -------------------------------------------------------------------------------- /libs/common/src/models/user.schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/src/models/user.schema.ts -------------------------------------------------------------------------------- /libs/common/tsconfig.lib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/libs/common/tsconfig.lib.json -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mguay22/sleepr/HEAD/tsconfig.json --------------------------------------------------------------------------------