├── .commitlintrc.json ├── .dockerignore ├── .env.example ├── .eslintrc.js ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── actions │ └── setvars │ │ └── action.yml ├── variables │ └── myvars.env └── workflows │ └── ci.yml ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-push ├── .lintstagedrc.json ├── .prettierignore ├── .prettierrc ├── .travis.yml ├── .vscode └── settings.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── Dockerfile.dev ├── LICENSE ├── PULL_REQUEST_TEMPLATE.md ├── Procfile ├── README.md ├── bin └── cli.js ├── config ├── default.yml ├── development.yml ├── production.yml └── test.yml ├── docker-compose-test.yml ├── docker-compose.yml ├── index.js ├── nest-cli.json ├── package.json ├── public └── images │ ├── logo.svg │ └── profile │ └── .gitignore ├── src ├── app.controller.ts ├── app.module.ts ├── auth │ ├── auth.controller.ts │ ├── auth.module.ts │ ├── auth.service.ts │ ├── dto │ │ ├── change-password.dto.ts │ │ ├── create-user.dto.ts │ │ ├── forget-password.dto.ts │ │ ├── jwt-payload.dto.ts │ │ ├── register-user.dto.ts │ │ ├── reset-password.dto.ts │ │ ├── update-user-profile.dto.ts │ │ ├── update-user.dto.ts │ │ ├── user-login.dto.ts │ │ └── user-search-filter.dto.ts │ ├── entity │ │ └── user.entity.ts │ ├── pipes │ │ └── username-unique-validation.pipes.ts │ ├── serializer │ │ └── user.serializer.ts │ ├── user-status.enum.ts │ └── user.repository.ts ├── common │ ├── constants │ │ ├── exception-title-list.constants.ts │ │ ├── status-codes-list.constants.ts │ │ └── validation-errors-list.constants.ts │ ├── decorators │ │ ├── get-user.decorator.ts │ │ ├── is-equal-to.decorator.ts │ │ └── sanitize-user.decorators.ts │ ├── entity │ │ └── custom-base.entity.ts │ ├── exception │ │ └── exception-filter.ts │ ├── extra │ │ └── common-search-field.dto.ts │ ├── guard │ │ ├── custom-throttle.guard.ts │ │ ├── jwt-auth.guard.ts │ │ ├── jwt-two-factor.guard.ts │ │ └── permission.guard.ts │ ├── helper │ │ ├── generate-code.helper.ts │ │ └── multer-options.helper.ts │ ├── interfaces │ │ ├── common-dto.interface.ts │ │ ├── common-service.interface.ts │ │ ├── search-filter.interface.ts │ │ └── validation-error.interface.ts │ ├── middleware │ │ └── logger.middleware.ts │ ├── pipes │ │ ├── abstract-unique-validator.ts │ │ ├── custom-validation.pipe.ts │ │ ├── i18n-exception-filter.pipe.ts │ │ └── unique-validator.pipe.ts │ ├── repository │ │ └── base.repository.ts │ ├── serializer │ │ └── model.serializer.ts │ └── strategy │ │ ├── jwt-two-factor.strategy.ts │ │ └── jwt.strategy.ts ├── config │ ├── email-template.ts │ ├── ormconfig.ts │ ├── permission-config.ts │ ├── throttle-config.ts │ └── winston.ts ├── dashboard │ ├── dashboard.controller.ts │ ├── dashboard.module.ts │ ├── dashboard.service.ts │ ├── dto │ │ ├── create-dashboard.dto.ts │ │ └── update-dashboard.dto.ts │ ├── entities │ │ └── dashboard.entity.ts │ └── interface │ │ ├── browser-stats.interface.ts │ │ ├── os-stats.interface.ts │ │ └── user-stats.interface.ts ├── database │ ├── migrations │ │ ├── 1614275766942-RoleTable.ts │ │ ├── 1614275788549-PermissionTable.ts │ │ ├── 1614275796207-PermissionRoleTable.ts │ │ ├── 1614275816426-UserTable.ts │ │ ├── 1617559216655-addTokenValidityDateInUserEntity.ts │ │ ├── 1622305543735-EmailTemplate.ts │ │ ├── 1623601947397-CreateRefreshTokenTable.ts │ │ ├── 1623777103308-AddUserAgentRefreshTokenTable.ts │ │ ├── 1626924978575-AddAvatarColumnUserTable.ts │ │ ├── 1627278359782-Add2faColumnsUserTable.ts │ │ ├── 1627736950484-AddTwoSecretGenerateThrottleTime.ts │ │ └── 1629136129718-AddBrowserAndOsColumnRefreshTokenTable.ts │ └── seeds │ │ ├── create-email-template.seed.ts │ │ ├── create-permission.seed.ts │ │ ├── create-role.seed.ts │ │ └── create-user.seed.ts ├── email-template │ ├── dto │ │ ├── create-email-template.dto.ts │ │ ├── email-templates-search-filter.dto.ts │ │ └── update-email-template.dto.ts │ ├── email-template.controller.ts │ ├── email-template.module.ts │ ├── email-template.repository.ts │ ├── email-template.service.ts │ ├── entities │ │ └── email-template.entity.ts │ └── serializer │ │ └── email-template.serializer.ts ├── exception │ ├── custom-http.exception.ts │ ├── forbidden.exception.ts │ ├── not-found.exception.ts │ └── unauthorized.exception.ts ├── i18n │ ├── en │ │ ├── app.json │ │ ├── exception.json │ │ └── validation.json │ └── ne │ │ ├── app.json │ │ ├── exception.json │ │ └── validation.json ├── mail │ ├── interface │ │ └── mail-job.interface.ts │ ├── mail.module.ts │ ├── mail.processor.ts │ ├── mail.service.ts │ └── templates │ │ └── email │ │ ├── activate-account.pug │ │ ├── assets │ │ └── css │ │ │ └── style.css │ │ ├── layouts │ │ └── email-layout.pug │ │ ├── mixins │ │ └── _button.pug │ │ ├── partials │ │ └── footer.pug │ │ └── password-reset.pug ├── main.ts ├── paginate │ ├── index.ts │ ├── pagination-info.interface.ts │ ├── pagination.results.interface.ts │ └── pagination.ts ├── permission │ ├── dto │ │ ├── create-permission.dto.ts │ │ ├── permission-filter.dto.ts │ │ └── update-permission.dto.ts │ ├── entities │ │ └── permission.entity.ts │ ├── misc │ │ └── load-permission.misc.ts │ ├── permission.repository.ts │ ├── permissions.controller.ts │ ├── permissions.module.ts │ ├── permissions.service.ts │ └── serializer │ │ └── permission.serializer.ts ├── refresh-token │ ├── dto │ │ └── refresh-paginate-filter.dto.ts │ ├── entities │ │ └── refresh-token.entity.ts │ ├── interface │ │ └── refresh-token.interface.ts │ ├── refresh-token.module.ts │ ├── refresh-token.repository.ts │ ├── refresh-token.service.ts │ └── serializer │ │ └── refresh-token.serializer.ts ├── role │ ├── dto │ │ ├── create-role.dto.ts │ │ ├── role-filter.dto.ts │ │ └── update-role.dto.ts │ ├── entities │ │ └── role.entity.ts │ ├── role.repository.ts │ ├── roles.controller.ts │ ├── roles.module.ts │ ├── roles.service.ts │ └── serializer │ │ └── role.serializer.ts └── twofa │ ├── dto │ ├── twofa-code.dto.ts │ └── twofa-status-update.dto.ts │ ├── twofa.controller.ts │ ├── twofa.module.ts │ └── twofa.service.ts ├── test ├── e2e │ ├── app │ │ └── app.e2e-spec.ts │ ├── auth │ │ └── auth.e2e-spec.ts │ ├── example.e2e-spec.ts │ └── jest-e2e.json ├── factories │ ├── app.ts │ ├── role.factory.ts │ ├── throttle.ts │ └── user.factory.ts ├── unit │ ├── auth │ │ ├── auth.service.unit-spec.ts │ │ ├── entity │ │ │ └── user.entity.unit-spec.ts │ │ ├── pipes │ │ │ └── username-unique-validation.pipes.unit-spec.ts │ │ └── user.repository.unit-spec.ts │ ├── common │ │ ├── guard │ │ │ └── permission.guard.unit-spec.ts │ │ ├── pipes │ │ │ └── unique-validator.pipe.unit-spec.ts │ │ ├── repository │ │ │ └── base.repository.unit-spec.ts │ │ └── strategy │ │ │ └── jwt.strategy.unit-spec.ts │ ├── dashboard │ │ └── dashboard.service.unit-spec.ts │ ├── email-template │ │ └── email-template.service.unit-spec.ts │ ├── jest-unit.json │ ├── permission │ │ └── permissions.service.unit-spec.ts │ ├── refresh-token │ │ ├── refresh-token.repository.unit-spec.ts │ │ └── refresh-token.service.unit-spec.ts │ ├── role │ │ └── roles.service.unit-spec.ts │ └── twofa │ │ └── twofa.service.unit-spec.ts └── utility │ ├── create-mock.ts │ └── extract-cookie.ts ├── tsconfig.build.json ├── tsconfig.json └── yarn.lock /.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@commitlint/config-conventional"] 3 | } 4 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/actions/setvars/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.github/actions/setvars/action.yml -------------------------------------------------------------------------------- /.github/variables/myvars.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.github/variables/myvars.env -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run precommit 5 | -------------------------------------------------------------------------------- /.husky/pre-push: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run prepush -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # compiled output 2 | /dist -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.prettierrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "prettier.jsxSingleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/Dockerfile -------------------------------------------------------------------------------- /Dockerfile.dev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/Dockerfile.dev -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/LICENSE -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: npm run start:prod 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/README.md -------------------------------------------------------------------------------- /bin/cli.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/bin/cli.js -------------------------------------------------------------------------------- /config/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/config/default.yml -------------------------------------------------------------------------------- /config/development.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/config/development.yml -------------------------------------------------------------------------------- /config/production.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/config/production.yml -------------------------------------------------------------------------------- /config/test.yml: -------------------------------------------------------------------------------- 1 | jwt: 2 | secret: 'example@123' 3 | -------------------------------------------------------------------------------- /docker-compose-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/docker-compose-test.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/index.js -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/package.json -------------------------------------------------------------------------------- /public/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/public/images/logo.svg -------------------------------------------------------------------------------- /public/images/profile/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/public/images/profile/.gitignore -------------------------------------------------------------------------------- /src/app.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/app.controller.ts -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/auth.controller.ts -------------------------------------------------------------------------------- /src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/auth.module.ts -------------------------------------------------------------------------------- /src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/auth.service.ts -------------------------------------------------------------------------------- /src/auth/dto/change-password.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/change-password.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/create-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/create-user.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/forget-password.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/forget-password.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/jwt-payload.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/jwt-payload.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/register-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/register-user.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/reset-password.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/reset-password.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/update-user-profile.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/update-user-profile.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/update-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/update-user.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/user-login.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/user-login.dto.ts -------------------------------------------------------------------------------- /src/auth/dto/user-search-filter.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/dto/user-search-filter.dto.ts -------------------------------------------------------------------------------- /src/auth/entity/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/entity/user.entity.ts -------------------------------------------------------------------------------- /src/auth/pipes/username-unique-validation.pipes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/pipes/username-unique-validation.pipes.ts -------------------------------------------------------------------------------- /src/auth/serializer/user.serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/serializer/user.serializer.ts -------------------------------------------------------------------------------- /src/auth/user-status.enum.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/user-status.enum.ts -------------------------------------------------------------------------------- /src/auth/user.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/auth/user.repository.ts -------------------------------------------------------------------------------- /src/common/constants/exception-title-list.constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/constants/exception-title-list.constants.ts -------------------------------------------------------------------------------- /src/common/constants/status-codes-list.constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/constants/status-codes-list.constants.ts -------------------------------------------------------------------------------- /src/common/constants/validation-errors-list.constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/constants/validation-errors-list.constants.ts -------------------------------------------------------------------------------- /src/common/decorators/get-user.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/decorators/get-user.decorator.ts -------------------------------------------------------------------------------- /src/common/decorators/is-equal-to.decorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/decorators/is-equal-to.decorator.ts -------------------------------------------------------------------------------- /src/common/decorators/sanitize-user.decorators.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/decorators/sanitize-user.decorators.ts -------------------------------------------------------------------------------- /src/common/entity/custom-base.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/entity/custom-base.entity.ts -------------------------------------------------------------------------------- /src/common/exception/exception-filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/exception/exception-filter.ts -------------------------------------------------------------------------------- /src/common/extra/common-search-field.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/extra/common-search-field.dto.ts -------------------------------------------------------------------------------- /src/common/guard/custom-throttle.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/guard/custom-throttle.guard.ts -------------------------------------------------------------------------------- /src/common/guard/jwt-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/guard/jwt-auth.guard.ts -------------------------------------------------------------------------------- /src/common/guard/jwt-two-factor.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/guard/jwt-two-factor.guard.ts -------------------------------------------------------------------------------- /src/common/guard/permission.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/guard/permission.guard.ts -------------------------------------------------------------------------------- /src/common/helper/generate-code.helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/helper/generate-code.helper.ts -------------------------------------------------------------------------------- /src/common/helper/multer-options.helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/helper/multer-options.helper.ts -------------------------------------------------------------------------------- /src/common/interfaces/common-dto.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/interfaces/common-dto.interface.ts -------------------------------------------------------------------------------- /src/common/interfaces/common-service.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/interfaces/common-service.interface.ts -------------------------------------------------------------------------------- /src/common/interfaces/search-filter.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/interfaces/search-filter.interface.ts -------------------------------------------------------------------------------- /src/common/interfaces/validation-error.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/interfaces/validation-error.interface.ts -------------------------------------------------------------------------------- /src/common/middleware/logger.middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/middleware/logger.middleware.ts -------------------------------------------------------------------------------- /src/common/pipes/abstract-unique-validator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/pipes/abstract-unique-validator.ts -------------------------------------------------------------------------------- /src/common/pipes/custom-validation.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/pipes/custom-validation.pipe.ts -------------------------------------------------------------------------------- /src/common/pipes/i18n-exception-filter.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/pipes/i18n-exception-filter.pipe.ts -------------------------------------------------------------------------------- /src/common/pipes/unique-validator.pipe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/pipes/unique-validator.pipe.ts -------------------------------------------------------------------------------- /src/common/repository/base.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/repository/base.repository.ts -------------------------------------------------------------------------------- /src/common/serializer/model.serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/serializer/model.serializer.ts -------------------------------------------------------------------------------- /src/common/strategy/jwt-two-factor.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/strategy/jwt-two-factor.strategy.ts -------------------------------------------------------------------------------- /src/common/strategy/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/common/strategy/jwt.strategy.ts -------------------------------------------------------------------------------- /src/config/email-template.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/config/email-template.ts -------------------------------------------------------------------------------- /src/config/ormconfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/config/ormconfig.ts -------------------------------------------------------------------------------- /src/config/permission-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/config/permission-config.ts -------------------------------------------------------------------------------- /src/config/throttle-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/config/throttle-config.ts -------------------------------------------------------------------------------- /src/config/winston.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/config/winston.ts -------------------------------------------------------------------------------- /src/dashboard/dashboard.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/dashboard/dashboard.controller.ts -------------------------------------------------------------------------------- /src/dashboard/dashboard.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/dashboard/dashboard.module.ts -------------------------------------------------------------------------------- /src/dashboard/dashboard.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/dashboard/dashboard.service.ts -------------------------------------------------------------------------------- /src/dashboard/dto/create-dashboard.dto.ts: -------------------------------------------------------------------------------- 1 | export class CreateDashboardDto {} 2 | -------------------------------------------------------------------------------- /src/dashboard/dto/update-dashboard.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/dashboard/dto/update-dashboard.dto.ts -------------------------------------------------------------------------------- /src/dashboard/entities/dashboard.entity.ts: -------------------------------------------------------------------------------- 1 | export class Dashboard {} 2 | -------------------------------------------------------------------------------- /src/dashboard/interface/browser-stats.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/dashboard/interface/browser-stats.interface.ts -------------------------------------------------------------------------------- /src/dashboard/interface/os-stats.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/dashboard/interface/os-stats.interface.ts -------------------------------------------------------------------------------- /src/dashboard/interface/user-stats.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/dashboard/interface/user-stats.interface.ts -------------------------------------------------------------------------------- /src/database/migrations/1614275766942-RoleTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1614275766942-RoleTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1614275788549-PermissionTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1614275788549-PermissionTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1614275796207-PermissionRoleTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1614275796207-PermissionRoleTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1614275816426-UserTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1614275816426-UserTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1617559216655-addTokenValidityDateInUserEntity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1617559216655-addTokenValidityDateInUserEntity.ts -------------------------------------------------------------------------------- /src/database/migrations/1622305543735-EmailTemplate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1622305543735-EmailTemplate.ts -------------------------------------------------------------------------------- /src/database/migrations/1623601947397-CreateRefreshTokenTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1623601947397-CreateRefreshTokenTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1623777103308-AddUserAgentRefreshTokenTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1623777103308-AddUserAgentRefreshTokenTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1626924978575-AddAvatarColumnUserTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1626924978575-AddAvatarColumnUserTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1627278359782-Add2faColumnsUserTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1627278359782-Add2faColumnsUserTable.ts -------------------------------------------------------------------------------- /src/database/migrations/1627736950484-AddTwoSecretGenerateThrottleTime.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1627736950484-AddTwoSecretGenerateThrottleTime.ts -------------------------------------------------------------------------------- /src/database/migrations/1629136129718-AddBrowserAndOsColumnRefreshTokenTable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/migrations/1629136129718-AddBrowserAndOsColumnRefreshTokenTable.ts -------------------------------------------------------------------------------- /src/database/seeds/create-email-template.seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/seeds/create-email-template.seed.ts -------------------------------------------------------------------------------- /src/database/seeds/create-permission.seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/seeds/create-permission.seed.ts -------------------------------------------------------------------------------- /src/database/seeds/create-role.seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/seeds/create-role.seed.ts -------------------------------------------------------------------------------- /src/database/seeds/create-user.seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/database/seeds/create-user.seed.ts -------------------------------------------------------------------------------- /src/email-template/dto/create-email-template.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/dto/create-email-template.dto.ts -------------------------------------------------------------------------------- /src/email-template/dto/email-templates-search-filter.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/dto/email-templates-search-filter.dto.ts -------------------------------------------------------------------------------- /src/email-template/dto/update-email-template.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/dto/update-email-template.dto.ts -------------------------------------------------------------------------------- /src/email-template/email-template.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/email-template.controller.ts -------------------------------------------------------------------------------- /src/email-template/email-template.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/email-template.module.ts -------------------------------------------------------------------------------- /src/email-template/email-template.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/email-template.repository.ts -------------------------------------------------------------------------------- /src/email-template/email-template.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/email-template.service.ts -------------------------------------------------------------------------------- /src/email-template/entities/email-template.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/entities/email-template.entity.ts -------------------------------------------------------------------------------- /src/email-template/serializer/email-template.serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/email-template/serializer/email-template.serializer.ts -------------------------------------------------------------------------------- /src/exception/custom-http.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/exception/custom-http.exception.ts -------------------------------------------------------------------------------- /src/exception/forbidden.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/exception/forbidden.exception.ts -------------------------------------------------------------------------------- /src/exception/not-found.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/exception/not-found.exception.ts -------------------------------------------------------------------------------- /src/exception/unauthorized.exception.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/exception/unauthorized.exception.ts -------------------------------------------------------------------------------- /src/i18n/en/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/i18n/en/app.json -------------------------------------------------------------------------------- /src/i18n/en/exception.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/i18n/en/exception.json -------------------------------------------------------------------------------- /src/i18n/en/validation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/i18n/en/validation.json -------------------------------------------------------------------------------- /src/i18n/ne/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/i18n/ne/app.json -------------------------------------------------------------------------------- /src/i18n/ne/exception.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/i18n/ne/exception.json -------------------------------------------------------------------------------- /src/i18n/ne/validation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/i18n/ne/validation.json -------------------------------------------------------------------------------- /src/mail/interface/mail-job.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/interface/mail-job.interface.ts -------------------------------------------------------------------------------- /src/mail/mail.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/mail.module.ts -------------------------------------------------------------------------------- /src/mail/mail.processor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/mail.processor.ts -------------------------------------------------------------------------------- /src/mail/mail.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/mail.service.ts -------------------------------------------------------------------------------- /src/mail/templates/email/activate-account.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/templates/email/activate-account.pug -------------------------------------------------------------------------------- /src/mail/templates/email/assets/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/templates/email/assets/css/style.css -------------------------------------------------------------------------------- /src/mail/templates/email/layouts/email-layout.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/templates/email/layouts/email-layout.pug -------------------------------------------------------------------------------- /src/mail/templates/email/mixins/_button.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/templates/email/mixins/_button.pug -------------------------------------------------------------------------------- /src/mail/templates/email/partials/footer.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/templates/email/partials/footer.pug -------------------------------------------------------------------------------- /src/mail/templates/email/password-reset.pug: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/mail/templates/email/password-reset.pug -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/paginate/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/paginate/index.ts -------------------------------------------------------------------------------- /src/paginate/pagination-info.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/paginate/pagination-info.interface.ts -------------------------------------------------------------------------------- /src/paginate/pagination.results.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/paginate/pagination.results.interface.ts -------------------------------------------------------------------------------- /src/paginate/pagination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/paginate/pagination.ts -------------------------------------------------------------------------------- /src/permission/dto/create-permission.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/dto/create-permission.dto.ts -------------------------------------------------------------------------------- /src/permission/dto/permission-filter.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/dto/permission-filter.dto.ts -------------------------------------------------------------------------------- /src/permission/dto/update-permission.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/dto/update-permission.dto.ts -------------------------------------------------------------------------------- /src/permission/entities/permission.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/entities/permission.entity.ts -------------------------------------------------------------------------------- /src/permission/misc/load-permission.misc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/misc/load-permission.misc.ts -------------------------------------------------------------------------------- /src/permission/permission.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/permission.repository.ts -------------------------------------------------------------------------------- /src/permission/permissions.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/permissions.controller.ts -------------------------------------------------------------------------------- /src/permission/permissions.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/permissions.module.ts -------------------------------------------------------------------------------- /src/permission/permissions.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/permissions.service.ts -------------------------------------------------------------------------------- /src/permission/serializer/permission.serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/permission/serializer/permission.serializer.ts -------------------------------------------------------------------------------- /src/refresh-token/dto/refresh-paginate-filter.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/refresh-token/dto/refresh-paginate-filter.dto.ts -------------------------------------------------------------------------------- /src/refresh-token/entities/refresh-token.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/refresh-token/entities/refresh-token.entity.ts -------------------------------------------------------------------------------- /src/refresh-token/interface/refresh-token.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/refresh-token/interface/refresh-token.interface.ts -------------------------------------------------------------------------------- /src/refresh-token/refresh-token.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/refresh-token/refresh-token.module.ts -------------------------------------------------------------------------------- /src/refresh-token/refresh-token.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/refresh-token/refresh-token.repository.ts -------------------------------------------------------------------------------- /src/refresh-token/refresh-token.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/refresh-token/refresh-token.service.ts -------------------------------------------------------------------------------- /src/refresh-token/serializer/refresh-token.serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/refresh-token/serializer/refresh-token.serializer.ts -------------------------------------------------------------------------------- /src/role/dto/create-role.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/dto/create-role.dto.ts -------------------------------------------------------------------------------- /src/role/dto/role-filter.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/dto/role-filter.dto.ts -------------------------------------------------------------------------------- /src/role/dto/update-role.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/dto/update-role.dto.ts -------------------------------------------------------------------------------- /src/role/entities/role.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/entities/role.entity.ts -------------------------------------------------------------------------------- /src/role/role.repository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/role.repository.ts -------------------------------------------------------------------------------- /src/role/roles.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/roles.controller.ts -------------------------------------------------------------------------------- /src/role/roles.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/roles.module.ts -------------------------------------------------------------------------------- /src/role/roles.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/roles.service.ts -------------------------------------------------------------------------------- /src/role/serializer/role.serializer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/role/serializer/role.serializer.ts -------------------------------------------------------------------------------- /src/twofa/dto/twofa-code.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/twofa/dto/twofa-code.dto.ts -------------------------------------------------------------------------------- /src/twofa/dto/twofa-status-update.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/twofa/dto/twofa-status-update.dto.ts -------------------------------------------------------------------------------- /src/twofa/twofa.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/twofa/twofa.controller.ts -------------------------------------------------------------------------------- /src/twofa/twofa.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/twofa/twofa.module.ts -------------------------------------------------------------------------------- /src/twofa/twofa.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/src/twofa/twofa.service.ts -------------------------------------------------------------------------------- /test/e2e/app/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/e2e/app/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/e2e/auth/auth.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/e2e/auth/auth.e2e-spec.ts -------------------------------------------------------------------------------- /test/e2e/example.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/e2e/example.e2e-spec.ts -------------------------------------------------------------------------------- /test/e2e/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/e2e/jest-e2e.json -------------------------------------------------------------------------------- /test/factories/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/factories/app.ts -------------------------------------------------------------------------------- /test/factories/role.factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/factories/role.factory.ts -------------------------------------------------------------------------------- /test/factories/throttle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/factories/throttle.ts -------------------------------------------------------------------------------- /test/factories/user.factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/factories/user.factory.ts -------------------------------------------------------------------------------- /test/unit/auth/auth.service.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/auth/auth.service.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/auth/entity/user.entity.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/auth/entity/user.entity.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/auth/pipes/username-unique-validation.pipes.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/auth/pipes/username-unique-validation.pipes.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/auth/user.repository.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/auth/user.repository.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/common/guard/permission.guard.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/common/guard/permission.guard.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/common/pipes/unique-validator.pipe.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/common/pipes/unique-validator.pipe.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/common/repository/base.repository.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/common/repository/base.repository.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/common/strategy/jwt.strategy.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/common/strategy/jwt.strategy.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/dashboard/dashboard.service.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/dashboard/dashboard.service.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/email-template/email-template.service.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/email-template/email-template.service.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/jest-unit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/jest-unit.json -------------------------------------------------------------------------------- /test/unit/permission/permissions.service.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/permission/permissions.service.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/refresh-token/refresh-token.repository.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/refresh-token/refresh-token.repository.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/refresh-token/refresh-token.service.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/refresh-token/refresh-token.service.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/role/roles.service.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/role/roles.service.unit-spec.ts -------------------------------------------------------------------------------- /test/unit/twofa/twofa.service.unit-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/unit/twofa/twofa.service.unit-spec.ts -------------------------------------------------------------------------------- /test/utility/create-mock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/utility/create-mock.ts -------------------------------------------------------------------------------- /test/utility/extract-cookie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/test/utility/extract-cookie.ts -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gobeam/truthy/HEAD/yarn.lock --------------------------------------------------------------------------------