├── .circleci └── config.yml ├── .github └── ISSUE_TEMPLATE │ └── bug_report.md ├── .gitignore ├── LICENSE ├── README.md ├── backend ├── .gitignore ├── .prettierrc ├── README.md ├── nest-cli.json ├── nodemon-debug.json ├── nodemon.json ├── package-lock.json ├── package.json ├── src │ ├── app.module.ts │ ├── auth │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── auth.service.ts │ │ ├── entities │ │ │ └── emailverification.entity.ts │ │ ├── interfaces │ │ │ └── jwt-payload.interface.ts │ │ └── strategies │ │ │ └── jwt.strategy.ts │ ├── database │ │ ├── database.module.ts │ │ └── database.testing.module.ts │ ├── env │ │ ├── env.module.ts │ │ └── env.service.ts │ ├── main.ts │ ├── shared │ │ ├── constants.ts │ │ ├── email-constants.ts │ │ ├── http-exception.filter.ts │ │ ├── jwt.payload.service.ts │ │ ├── logging.interceptor.ts │ │ └── user-roles.ts │ └── users │ │ ├── dto │ │ ├── create-user.dto.ts │ │ ├── login-user.dto.ts │ │ └── update-user.dto.ts │ │ ├── user.entity.ts │ │ ├── user.interface.ts │ │ ├── users.controller.ts │ │ ├── users.module.ts │ │ └── users.service.ts ├── test │ ├── auth.e2e-spec.ts │ ├── jest-e2e.json │ └── users.e2e-spec.ts ├── tsconfig.build.json ├── tsconfig.json └── tslint.json ├── client ├── .browserslistrc ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── README.md ├── babel.config.js ├── cypress.json ├── jest.config.js ├── package-lock.json ├── package.json ├── postcss.config.js ├── public │ ├── favicon.ico │ └── index.html ├── src │ ├── App.vue │ ├── assets │ │ └── logo.png │ ├── bootstrap.scss │ ├── components │ │ └── Navbar.vue │ ├── global.scss │ ├── main.ts │ ├── router.ts │ ├── shims-tsx.d.ts │ ├── shims-vue.d.ts │ ├── store.ts │ ├── types │ │ ├── payload.ts │ │ └── user.ts │ ├── utils │ │ └── userUtils.ts │ └── views │ │ ├── Home.vue │ │ ├── Login.vue │ │ ├── Profile.vue │ │ └── Register.vue ├── tests │ ├── e2e │ │ ├── .eslintrc.js │ │ ├── plugins │ │ │ └── index.js │ │ ├── specs │ │ │ └── test.js │ │ └── support │ │ │ ├── commands.js │ │ │ └── index.js │ └── unit │ │ ├── .eslintrc.js │ │ └── example.spec.ts └── tsconfig.json └── renovate.json /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/README.md -------------------------------------------------------------------------------- /backend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/.gitignore -------------------------------------------------------------------------------- /backend/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/.prettierrc -------------------------------------------------------------------------------- /backend/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/README.md -------------------------------------------------------------------------------- /backend/nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/nest-cli.json -------------------------------------------------------------------------------- /backend/nodemon-debug.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/nodemon-debug.json -------------------------------------------------------------------------------- /backend/nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/nodemon.json -------------------------------------------------------------------------------- /backend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/package-lock.json -------------------------------------------------------------------------------- /backend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/package.json -------------------------------------------------------------------------------- /backend/src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/app.module.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/auth/auth.controller.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/auth/auth.module.ts -------------------------------------------------------------------------------- /backend/src/auth/auth.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/auth/auth.service.ts -------------------------------------------------------------------------------- /backend/src/auth/entities/emailverification.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/auth/entities/emailverification.entity.ts -------------------------------------------------------------------------------- /backend/src/auth/interfaces/jwt-payload.interface.ts: -------------------------------------------------------------------------------- 1 | export interface JwtPayload { 2 | email: string; 3 | } 4 | -------------------------------------------------------------------------------- /backend/src/auth/strategies/jwt.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/auth/strategies/jwt.strategy.ts -------------------------------------------------------------------------------- /backend/src/database/database.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/database/database.module.ts -------------------------------------------------------------------------------- /backend/src/database/database.testing.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/database/database.testing.module.ts -------------------------------------------------------------------------------- /backend/src/env/env.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/env/env.module.ts -------------------------------------------------------------------------------- /backend/src/env/env.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/env/env.service.ts -------------------------------------------------------------------------------- /backend/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/main.ts -------------------------------------------------------------------------------- /backend/src/shared/constants.ts: -------------------------------------------------------------------------------- 1 | export const EXPIRES_IN = 3600; 2 | -------------------------------------------------------------------------------- /backend/src/shared/email-constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/shared/email-constants.ts -------------------------------------------------------------------------------- /backend/src/shared/http-exception.filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/shared/http-exception.filter.ts -------------------------------------------------------------------------------- /backend/src/shared/jwt.payload.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/shared/jwt.payload.service.ts -------------------------------------------------------------------------------- /backend/src/shared/logging.interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/shared/logging.interceptor.ts -------------------------------------------------------------------------------- /backend/src/shared/user-roles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/shared/user-roles.ts -------------------------------------------------------------------------------- /backend/src/users/dto/create-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/dto/create-user.dto.ts -------------------------------------------------------------------------------- /backend/src/users/dto/login-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/dto/login-user.dto.ts -------------------------------------------------------------------------------- /backend/src/users/dto/update-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/dto/update-user.dto.ts -------------------------------------------------------------------------------- /backend/src/users/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/user.entity.ts -------------------------------------------------------------------------------- /backend/src/users/user.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/user.interface.ts -------------------------------------------------------------------------------- /backend/src/users/users.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/users.controller.ts -------------------------------------------------------------------------------- /backend/src/users/users.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/users.module.ts -------------------------------------------------------------------------------- /backend/src/users/users.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/src/users/users.service.ts -------------------------------------------------------------------------------- /backend/test/auth.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/test/auth.e2e-spec.ts -------------------------------------------------------------------------------- /backend/test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/test/jest-e2e.json -------------------------------------------------------------------------------- /backend/test/users.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/test/users.e2e-spec.ts -------------------------------------------------------------------------------- /backend/tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/tsconfig.build.json -------------------------------------------------------------------------------- /backend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/tsconfig.json -------------------------------------------------------------------------------- /backend/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/backend/tslint.json -------------------------------------------------------------------------------- /client/.browserslistrc: -------------------------------------------------------------------------------- 1 | > 1% 2 | last 2 versions 3 | -------------------------------------------------------------------------------- /client/.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/.editorconfig -------------------------------------------------------------------------------- /client/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/.eslintrc.js -------------------------------------------------------------------------------- /client/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/.gitignore -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/README.md -------------------------------------------------------------------------------- /client/babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/babel.config.js -------------------------------------------------------------------------------- /client/cypress.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/cypress.json -------------------------------------------------------------------------------- /client/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/jest.config.js -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/package.json -------------------------------------------------------------------------------- /client/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/postcss.config.js -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/App.vue -------------------------------------------------------------------------------- /client/src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/assets/logo.png -------------------------------------------------------------------------------- /client/src/bootstrap.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/bootstrap.scss -------------------------------------------------------------------------------- /client/src/components/Navbar.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/components/Navbar.vue -------------------------------------------------------------------------------- /client/src/global.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/global.scss -------------------------------------------------------------------------------- /client/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/main.ts -------------------------------------------------------------------------------- /client/src/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/router.ts -------------------------------------------------------------------------------- /client/src/shims-tsx.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/shims-tsx.d.ts -------------------------------------------------------------------------------- /client/src/shims-vue.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/shims-vue.d.ts -------------------------------------------------------------------------------- /client/src/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/store.ts -------------------------------------------------------------------------------- /client/src/types/payload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/types/payload.ts -------------------------------------------------------------------------------- /client/src/types/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/types/user.ts -------------------------------------------------------------------------------- /client/src/utils/userUtils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/utils/userUtils.ts -------------------------------------------------------------------------------- /client/src/views/Home.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/views/Home.vue -------------------------------------------------------------------------------- /client/src/views/Login.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/views/Login.vue -------------------------------------------------------------------------------- /client/src/views/Profile.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/views/Profile.vue -------------------------------------------------------------------------------- /client/src/views/Register.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/src/views/Register.vue -------------------------------------------------------------------------------- /client/tests/e2e/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tests/e2e/.eslintrc.js -------------------------------------------------------------------------------- /client/tests/e2e/plugins/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tests/e2e/plugins/index.js -------------------------------------------------------------------------------- /client/tests/e2e/specs/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tests/e2e/specs/test.js -------------------------------------------------------------------------------- /client/tests/e2e/support/commands.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tests/e2e/support/commands.js -------------------------------------------------------------------------------- /client/tests/e2e/support/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tests/e2e/support/index.js -------------------------------------------------------------------------------- /client/tests/unit/.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tests/unit/.eslintrc.js -------------------------------------------------------------------------------- /client/tests/unit/example.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tests/unit/example.spec.ts -------------------------------------------------------------------------------- /client/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/client/tsconfig.json -------------------------------------------------------------------------------- /renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TannerGabriel/Nestjs-Typeorm-Auth/HEAD/renovate.json --------------------------------------------------------------------------------