├── .editorconfig ├── .github └── pull_request_template.md ├── .gitignore ├── README.md ├── config └── default.yml ├── index.js ├── jest.json ├── keys ├── index.d.ts ├── index.js ├── package.json ├── session-private.key └── session-public.pem ├── migrations ├── 20180313125005-Create-uuid-extension.js ├── 20180326165744-seed-user.js ├── config.json └── sqls │ └── 20180326165744-seed-user-up.sql ├── nestconfig.json ├── nodemon.json ├── package.json ├── pull_request_template.md ├── src ├── app │ ├── app.module.ts │ ├── application-tokens.const.ts │ ├── modules │ │ ├── authentication │ │ │ ├── authentication.module.ts │ │ │ ├── controllers │ │ │ │ ├── authentication │ │ │ │ │ └── authentication.controller.ts │ │ │ │ └── index.ts │ │ │ ├── dtos │ │ │ │ ├── index.ts │ │ │ │ └── user-login.dto.ts │ │ │ ├── guards │ │ │ │ ├── access-token.guard.ts │ │ │ │ └── google-auth.guard.ts │ │ │ ├── index.ts │ │ │ ├── interfaces │ │ │ │ └── jwt-payload.interface.ts │ │ │ ├── passport │ │ │ │ ├── access-token.strategy.ts │ │ │ │ ├── google.strategy.ts │ │ │ │ └── index.ts │ │ │ └── services │ │ │ │ ├── authentication │ │ │ │ └── authentication.service.ts │ │ │ │ └── index.ts │ │ ├── common │ │ │ ├── api-docs │ │ │ │ ├── errors.docs.ts │ │ │ │ └── headers.docs.ts │ │ │ ├── common.module.ts │ │ │ └── entities │ │ │ │ ├── created-by.entity.ts │ │ │ │ └── index.ts │ │ ├── configuration │ │ │ ├── configuration.module.ts │ │ │ └── controllers │ │ │ │ └── configuration │ │ │ │ └── configuration.controller.ts │ │ ├── core │ │ │ ├── core.module.ts │ │ │ ├── database │ │ │ │ ├── database.module.ts │ │ │ │ ├── database.provider.ts │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ └── user │ │ │ ├── classes │ │ │ ├── authorized-user.ts │ │ │ ├── index.ts │ │ │ └── stored-user.ts │ │ │ ├── controllers │ │ │ ├── index.ts │ │ │ └── user │ │ │ │ └── user.controller.ts │ │ │ ├── dtos │ │ │ ├── create-user.dto.ts │ │ │ └── index.ts │ │ │ ├── entities │ │ │ ├── index.ts │ │ │ └── user.entity.ts │ │ │ ├── index.ts │ │ │ ├── interfaces │ │ │ └── seed-user.interface.ts │ │ │ ├── providers │ │ │ ├── index.ts │ │ │ └── user.providers.ts │ │ │ ├── services │ │ │ ├── index.ts │ │ │ └── user │ │ │ │ └── user.service.ts │ │ │ └── user.module.ts │ └── passport-strategy-tokens.const.ts └── main.ts ├── tsconfig.json └── tslint.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/README.md -------------------------------------------------------------------------------- /config/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/config/default.yml -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/index.js -------------------------------------------------------------------------------- /jest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/jest.json -------------------------------------------------------------------------------- /keys/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/keys/index.d.ts -------------------------------------------------------------------------------- /keys/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/keys/index.js -------------------------------------------------------------------------------- /keys/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@local/keys" 3 | } 4 | -------------------------------------------------------------------------------- /keys/session-private.key: -------------------------------------------------------------------------------- 1 | STORE PRIVATE KEY HERE 2 | -------------------------------------------------------------------------------- /keys/session-public.pem: -------------------------------------------------------------------------------- 1 | STORE PUBLIC KEY HERE 2 | -------------------------------------------------------------------------------- /migrations/20180313125005-Create-uuid-extension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/migrations/20180313125005-Create-uuid-extension.js -------------------------------------------------------------------------------- /migrations/20180326165744-seed-user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/migrations/20180326165744-seed-user.js -------------------------------------------------------------------------------- /migrations/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/migrations/config.json -------------------------------------------------------------------------------- /migrations/sqls/20180326165744-seed-user-up.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/migrations/sqls/20180326165744-seed-user-up.sql -------------------------------------------------------------------------------- /nestconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "language": "ts" 3 | } 4 | -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/package.json -------------------------------------------------------------------------------- /pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/pull_request_template.md -------------------------------------------------------------------------------- /src/app/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/app.module.ts -------------------------------------------------------------------------------- /src/app/application-tokens.const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/application-tokens.const.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/authentication.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/authentication.module.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/controllers/authentication/authentication.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/controllers/authentication/authentication.controller.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/controllers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/controllers/index.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/dtos/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user-login.dto'; 2 | -------------------------------------------------------------------------------- /src/app/modules/authentication/dtos/user-login.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/dtos/user-login.dto.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/guards/access-token.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/guards/access-token.guard.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/guards/google-auth.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/guards/google-auth.guard.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/index.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/interfaces/jwt-payload.interface.ts: -------------------------------------------------------------------------------- 1 | export interface JwtPayload { 2 | u_id: string; 3 | } 4 | -------------------------------------------------------------------------------- /src/app/modules/authentication/passport/access-token.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/passport/access-token.strategy.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/passport/google.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/passport/google.strategy.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/passport/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/passport/index.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/services/authentication/authentication.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/services/authentication/authentication.service.ts -------------------------------------------------------------------------------- /src/app/modules/authentication/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/authentication/services/index.ts -------------------------------------------------------------------------------- /src/app/modules/common/api-docs/errors.docs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/common/api-docs/errors.docs.ts -------------------------------------------------------------------------------- /src/app/modules/common/api-docs/headers.docs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/common/api-docs/headers.docs.ts -------------------------------------------------------------------------------- /src/app/modules/common/common.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/common/common.module.ts -------------------------------------------------------------------------------- /src/app/modules/common/entities/created-by.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/common/entities/created-by.entity.ts -------------------------------------------------------------------------------- /src/app/modules/common/entities/index.ts: -------------------------------------------------------------------------------- 1 | export * from './created-by.entity'; 2 | -------------------------------------------------------------------------------- /src/app/modules/configuration/configuration.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/configuration/configuration.module.ts -------------------------------------------------------------------------------- /src/app/modules/configuration/controllers/configuration/configuration.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/configuration/controllers/configuration/configuration.controller.ts -------------------------------------------------------------------------------- /src/app/modules/core/core.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/core/core.module.ts -------------------------------------------------------------------------------- /src/app/modules/core/database/database.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/core/database/database.module.ts -------------------------------------------------------------------------------- /src/app/modules/core/database/database.provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/core/database/database.provider.ts -------------------------------------------------------------------------------- /src/app/modules/core/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/core/database/index.ts -------------------------------------------------------------------------------- /src/app/modules/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/core/index.ts -------------------------------------------------------------------------------- /src/app/modules/user/classes/authorized-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/classes/authorized-user.ts -------------------------------------------------------------------------------- /src/app/modules/user/classes/index.ts: -------------------------------------------------------------------------------- 1 | export * from './authorized-user'; 2 | -------------------------------------------------------------------------------- /src/app/modules/user/classes/stored-user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/classes/stored-user.ts -------------------------------------------------------------------------------- /src/app/modules/user/controllers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/controllers/index.ts -------------------------------------------------------------------------------- /src/app/modules/user/controllers/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/controllers/user/user.controller.ts -------------------------------------------------------------------------------- /src/app/modules/user/dtos/create-user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/dtos/create-user.dto.ts -------------------------------------------------------------------------------- /src/app/modules/user/dtos/index.ts: -------------------------------------------------------------------------------- 1 | export * from './create-user.dto'; 2 | -------------------------------------------------------------------------------- /src/app/modules/user/entities/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user.entity'; 2 | -------------------------------------------------------------------------------- /src/app/modules/user/entities/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/entities/user.entity.ts -------------------------------------------------------------------------------- /src/app/modules/user/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/index.ts -------------------------------------------------------------------------------- /src/app/modules/user/interfaces/seed-user.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/interfaces/seed-user.interface.ts -------------------------------------------------------------------------------- /src/app/modules/user/providers/index.ts: -------------------------------------------------------------------------------- 1 | export * from './user.providers'; 2 | -------------------------------------------------------------------------------- /src/app/modules/user/providers/user.providers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/providers/user.providers.ts -------------------------------------------------------------------------------- /src/app/modules/user/services/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/services/index.ts -------------------------------------------------------------------------------- /src/app/modules/user/services/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/services/user/user.service.ts -------------------------------------------------------------------------------- /src/app/modules/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/modules/user/user.module.ts -------------------------------------------------------------------------------- /src/app/passport-strategy-tokens.const.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/app/passport-strategy-tokens.const.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/src/main.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TeamMaestro/nestjs-seed/HEAD/tslint.json --------------------------------------------------------------------------------