gitextract_f_h8i67j/ ├── LICENSE ├── readme.md └── server/ ├── .editorconfig ├── .eslintrc.js ├── .gitignore ├── .prettierrc ├── README.md ├── nest-cli.json ├── package.json ├── src/ │ ├── app.controller.spec.ts │ ├── app.controller.ts │ ├── app.module.ts │ ├── app.service.ts │ ├── app.utils.ts │ ├── common/ │ │ ├── constants/ │ │ │ └── event.constants.ts │ │ ├── decorator/ │ │ │ └── api-pagination.response.ts │ │ ├── dto/ │ │ │ └── paginated.dto.ts │ │ ├── exceptions/ │ │ │ └── api-token-payement.exception.ts │ │ └── middleware/ │ │ └── api-token-check.middleware.ts │ ├── config/ │ │ ├── app.config.ts │ │ ├── jwt.config.ts │ │ ├── typeorm.config-migrations.ts │ │ └── typeorm.config.ts │ ├── database/ │ │ ├── data/ │ │ │ └── quiz.data.ts │ │ ├── factories/ │ │ │ ├── quiz.factory.ts │ │ │ └── user.factory.ts │ │ ├── migrations/ │ │ │ ├── 1649938237326-BaseMigrations.ts │ │ │ └── 1651075479367-add_user_role_column.ts │ │ └── seeds/ │ │ ├── setup-data.seed.ts │ │ └── user-create.seed.ts │ ├── main.ts │ └── modules/ │ ├── auth/ │ │ ├── admin-role.guard.ts │ │ ├── auth.controller.ts │ │ ├── auth.module.ts │ │ ├── auth.service.ts │ │ ├── dto/ │ │ │ └── login.dto.ts │ │ ├── jwt-auth.guard.ts │ │ ├── jwt.strategy.ts │ │ ├── local-auth.guard.ts │ │ ├── local.strategy.ts │ │ ├── roles.decorator.ts │ │ └── roles.guard.ts │ ├── quiz/ │ │ ├── controllers/ │ │ │ ├── option.controller.ts │ │ │ ├── question.controller.ts │ │ │ ├── quiz.controller.ts │ │ │ └── response.controller.ts │ │ ├── dto/ │ │ │ ├── create-option.dto.ts │ │ │ ├── create-question.dto.ts │ │ │ └── create-quiz.dto.ts │ │ ├── entities/ │ │ │ ├── option.entity.ts │ │ │ ├── question.entity.ts │ │ │ └── quiz.entity.ts │ │ ├── events/ │ │ │ └── response-add.event.ts │ │ ├── quiz.module.ts │ │ ├── repositories/ │ │ │ ├── option.repository.ts │ │ │ ├── question.repository.ts │ │ │ └── quiz.repository.ts │ │ └── services/ │ │ ├── option.service.ts │ │ ├── question.service.ts │ │ ├── quiz.service.ts │ │ └── response.service.ts │ ├── search/ │ │ ├── controllers/ │ │ │ └── search.controller.ts │ │ ├── dto/ │ │ │ └── search-movie.dto.ts │ │ ├── search.module.ts │ │ └── search.service.ts │ └── user/ │ ├── dto/ │ │ └── user-register.req.dto.ts │ ├── enums/ │ │ └── user.enum.ts │ ├── user.controller.ts │ ├── user.entity.ts │ ├── user.module.ts │ └── user.service.ts ├── test/ │ ├── app.e2e-spec.ts │ └── jest-e2e.json ├── tsconfig.build.json ├── tsconfig.json └── uploads/ └── .gitignore