├── .dockerignore ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── Dockerfile ├── LICENSE ├── README.md ├── docker-compose.yml ├── nest-cli.json ├── package.json ├── src ├── app.module.ts ├── authentication │ ├── authentication.controller.ts │ ├── authentication.dto.ts │ ├── authentication.interface.ts │ ├── authentication.module.ts │ ├── authentication.service.ts │ ├── strategy │ │ └── google.strategy.ts │ └── token │ │ ├── token.guard.ts │ │ ├── token.service.ts │ │ └── token.strategy.ts ├── authorization │ ├── authorization.guard.ts │ ├── authorization.module.ts │ ├── role │ │ ├── role.controller.ts │ │ ├── role.dto.ts │ │ ├── role.entity.ts │ │ └── role.service.ts │ ├── role_route_access │ │ ├── role_route_access.controller.ts │ │ ├── role_route_access.dto.ts │ │ ├── role_route_access.entity.ts │ │ ├── role_route_access.guard.ts │ │ └── role_route_access.service.ts │ └── user_route_access │ │ ├── user_route_access.controller.ts │ │ ├── user_route_access.dto.ts │ │ ├── user_route_access.entity.ts │ │ ├── user_route_access.guard.ts │ │ └── user_route_access.service.ts ├── database │ ├── database.module.ts │ └── database.service.ts ├── emailer │ ├── emailer.module.ts │ └── emailer.service.ts ├── location │ ├── country │ │ ├── country.controller.ts │ │ ├── country.dto.ts │ │ ├── country.entity.ts │ │ └── country.service.ts │ ├── department │ │ ├── department.controller.ts │ │ ├── department.dto.ts │ │ ├── department.entity.ts │ │ └── department.service.ts │ ├── location.module.ts │ └── municipality │ │ ├── municipality.controller.ts │ │ ├── municipality.dto.ts │ │ ├── municipality.entity.ts │ │ └── municipality.service.ts ├── main.ts ├── user │ ├── user.controller.ts │ ├── user.dto.ts │ ├── user.entity.ts │ ├── user.interface.ts │ ├── user.module.ts │ └── user.service.ts └── views │ └── emails │ └── recoverpass.hbs ├── test ├── app.e2e-spec.ts └── jest-e2e.json ├── tsconfig.build.json └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/.dockerignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/.prettierrc -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /nest-cli.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/nest-cli.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/package.json -------------------------------------------------------------------------------- /src/app.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/app.module.ts -------------------------------------------------------------------------------- /src/authentication/authentication.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/authentication.controller.ts -------------------------------------------------------------------------------- /src/authentication/authentication.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/authentication.dto.ts -------------------------------------------------------------------------------- /src/authentication/authentication.interface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/authentication.interface.ts -------------------------------------------------------------------------------- /src/authentication/authentication.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/authentication.module.ts -------------------------------------------------------------------------------- /src/authentication/authentication.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/authentication.service.ts -------------------------------------------------------------------------------- /src/authentication/strategy/google.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/strategy/google.strategy.ts -------------------------------------------------------------------------------- /src/authentication/token/token.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/token/token.guard.ts -------------------------------------------------------------------------------- /src/authentication/token/token.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/token/token.service.ts -------------------------------------------------------------------------------- /src/authentication/token/token.strategy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authentication/token/token.strategy.ts -------------------------------------------------------------------------------- /src/authorization/authorization.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/authorization.guard.ts -------------------------------------------------------------------------------- /src/authorization/authorization.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/authorization.module.ts -------------------------------------------------------------------------------- /src/authorization/role/role.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role/role.controller.ts -------------------------------------------------------------------------------- /src/authorization/role/role.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role/role.dto.ts -------------------------------------------------------------------------------- /src/authorization/role/role.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role/role.entity.ts -------------------------------------------------------------------------------- /src/authorization/role/role.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role/role.service.ts -------------------------------------------------------------------------------- /src/authorization/role_route_access/role_route_access.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role_route_access/role_route_access.controller.ts -------------------------------------------------------------------------------- /src/authorization/role_route_access/role_route_access.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role_route_access/role_route_access.dto.ts -------------------------------------------------------------------------------- /src/authorization/role_route_access/role_route_access.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role_route_access/role_route_access.entity.ts -------------------------------------------------------------------------------- /src/authorization/role_route_access/role_route_access.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role_route_access/role_route_access.guard.ts -------------------------------------------------------------------------------- /src/authorization/role_route_access/role_route_access.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/role_route_access/role_route_access.service.ts -------------------------------------------------------------------------------- /src/authorization/user_route_access/user_route_access.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/user_route_access/user_route_access.controller.ts -------------------------------------------------------------------------------- /src/authorization/user_route_access/user_route_access.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/user_route_access/user_route_access.dto.ts -------------------------------------------------------------------------------- /src/authorization/user_route_access/user_route_access.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/user_route_access/user_route_access.entity.ts -------------------------------------------------------------------------------- /src/authorization/user_route_access/user_route_access.guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/user_route_access/user_route_access.guard.ts -------------------------------------------------------------------------------- /src/authorization/user_route_access/user_route_access.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/authorization/user_route_access/user_route_access.service.ts -------------------------------------------------------------------------------- /src/database/database.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/database/database.module.ts -------------------------------------------------------------------------------- /src/database/database.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/database/database.service.ts -------------------------------------------------------------------------------- /src/emailer/emailer.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/emailer/emailer.module.ts -------------------------------------------------------------------------------- /src/emailer/emailer.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/emailer/emailer.service.ts -------------------------------------------------------------------------------- /src/location/country/country.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/country/country.controller.ts -------------------------------------------------------------------------------- /src/location/country/country.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/country/country.dto.ts -------------------------------------------------------------------------------- /src/location/country/country.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/country/country.entity.ts -------------------------------------------------------------------------------- /src/location/country/country.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/country/country.service.ts -------------------------------------------------------------------------------- /src/location/department/department.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/department/department.controller.ts -------------------------------------------------------------------------------- /src/location/department/department.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/department/department.dto.ts -------------------------------------------------------------------------------- /src/location/department/department.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/department/department.entity.ts -------------------------------------------------------------------------------- /src/location/department/department.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/department/department.service.ts -------------------------------------------------------------------------------- /src/location/location.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/location.module.ts -------------------------------------------------------------------------------- /src/location/municipality/municipality.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/municipality/municipality.controller.ts -------------------------------------------------------------------------------- /src/location/municipality/municipality.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/municipality/municipality.dto.ts -------------------------------------------------------------------------------- /src/location/municipality/municipality.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/municipality/municipality.entity.ts -------------------------------------------------------------------------------- /src/location/municipality/municipality.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/location/municipality/municipality.service.ts -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/user/user.controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/user/user.controller.ts -------------------------------------------------------------------------------- /src/user/user.dto.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/user/user.dto.ts -------------------------------------------------------------------------------- /src/user/user.entity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/user/user.entity.ts -------------------------------------------------------------------------------- /src/user/user.interface.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/user/user.module.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/user/user.module.ts -------------------------------------------------------------------------------- /src/user/user.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/user/user.service.ts -------------------------------------------------------------------------------- /src/views/emails/recoverpass.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/src/views/emails/recoverpass.hbs -------------------------------------------------------------------------------- /test/app.e2e-spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/test/app.e2e-spec.ts -------------------------------------------------------------------------------- /test/jest-e2e.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/test/jest-e2e.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JuanjoCodedev/auth-nest/HEAD/tsconfig.json --------------------------------------------------------------------------------