├── .deploy └── flyway.sh ├── .gitignore ├── README.md ├── api.http ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── settings.gradle └── src ├── main ├── java │ └── com │ │ └── fyeeme │ │ └── quasar │ │ ├── QuasarApplication.java │ │ ├── base │ │ ├── entity │ │ │ ├── ApiError.java │ │ │ ├── ApiResult.java │ │ │ ├── AuditableEntity.java │ │ │ ├── BaseEntity.java │ │ │ ├── ProjectConstant.java │ │ │ └── QueryCondition.java │ │ ├── enums │ │ │ └── QueryOperationEnum.java │ │ ├── repository │ │ │ ├── ResourceRepository.java │ │ │ └── support │ │ │ │ └── GenericSpecificationBuilder.java │ │ ├── service │ │ │ ├── ResourceService.java │ │ │ └── ResourceServiceImpl.java │ │ └── util │ │ │ ├── CaseConverter.java │ │ │ └── SnowflakeId.java │ │ ├── core │ │ ├── configurer │ │ │ ├── JpaAuditorConfig.java │ │ │ ├── OpenApiConfig.java │ │ │ └── SecurityConfig.java │ │ ├── exception │ │ │ ├── AssertEntity.java │ │ │ ├── BizException.java │ │ │ ├── CommonError.java │ │ │ └── Err.java │ │ ├── handler │ │ │ ├── AuthenticationHandler.java │ │ │ ├── UnifiedExceptionHandler.java │ │ │ └── UnifiedResponseHandler.java │ │ ├── jpa │ │ │ └── AuditorAwareImpl.java │ │ └── property │ │ │ └── QuasarProperties.java │ │ ├── message │ │ ├── controller │ │ │ └── MessageController.java │ │ ├── dto │ │ │ └── MessageDto.java │ │ ├── entity │ │ │ └── Message.java │ │ ├── repository │ │ │ └── MessageRepository.java │ │ └── service │ │ │ ├── MessageService.java │ │ │ └── MessageServiceImpl.java │ │ ├── runner │ │ └── ConfigCommandRunner.java │ │ └── user │ │ ├── controller │ │ └── UserController.java │ │ ├── entity │ │ ├── Privilege.java │ │ ├── Role.java │ │ └── User.java │ │ ├── repository │ │ ├── PrivilegeRepository.java │ │ └── UserRepository.java │ │ └── service │ │ ├── PrivilegeService.java │ │ ├── PrivilegeServiceImpl.java │ │ ├── UserService.java │ │ └── UserServiceImpl.java └── resources │ ├── application-dev.yaml │ ├── application-prod.yaml │ ├── application-test.yaml │ ├── application.yaml │ ├── db │ └── migration │ │ ├── V2021.12.18.215200__create_user.sql │ │ ├── V2022.06.15.172814__create_message.sql │ │ └── V2022.06.16.172410__init_data.sql │ └── dist.application-dev.yaml └── test ├── java └── com │ └── fyeeme │ └── quasar │ ├── CaseConverterTest.java │ ├── QuasarApplicationTests.java │ ├── SnowflakeIdTest.java │ └── generator │ ├── CodeGenerator.java │ └── mybatis │ └── CustomCommentGenerator.java └── resources └── generator └── template ├── controller.ftl ├── dto.ftl ├── repository.ftl ├── service-impl.ftl └── service.ftl /.deploy/flyway.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/.deploy/flyway.sh -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/README.md -------------------------------------------------------------------------------- /api.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/api.http -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'quasar' 2 | -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/QuasarApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/QuasarApplication.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/entity/ApiError.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/entity/ApiError.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/entity/ApiResult.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/entity/ApiResult.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/entity/AuditableEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/entity/AuditableEntity.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/entity/BaseEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/entity/BaseEntity.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/entity/ProjectConstant.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/entity/ProjectConstant.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/entity/QueryCondition.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/entity/QueryCondition.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/enums/QueryOperationEnum.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/enums/QueryOperationEnum.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/repository/ResourceRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/repository/ResourceRepository.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/repository/support/GenericSpecificationBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/repository/support/GenericSpecificationBuilder.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/service/ResourceService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/service/ResourceService.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/service/ResourceServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/service/ResourceServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/util/CaseConverter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/util/CaseConverter.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/base/util/SnowflakeId.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/base/util/SnowflakeId.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/configurer/JpaAuditorConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/configurer/JpaAuditorConfig.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/configurer/OpenApiConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/configurer/OpenApiConfig.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/configurer/SecurityConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/configurer/SecurityConfig.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/exception/AssertEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/exception/AssertEntity.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/exception/BizException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/exception/BizException.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/exception/CommonError.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/exception/CommonError.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/exception/Err.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/exception/Err.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/handler/AuthenticationHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/handler/AuthenticationHandler.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/handler/UnifiedExceptionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/handler/UnifiedExceptionHandler.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/handler/UnifiedResponseHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/handler/UnifiedResponseHandler.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/jpa/AuditorAwareImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/jpa/AuditorAwareImpl.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/core/property/QuasarProperties.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/core/property/QuasarProperties.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/message/controller/MessageController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/message/controller/MessageController.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/message/dto/MessageDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/message/dto/MessageDto.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/message/entity/Message.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/message/entity/Message.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/message/repository/MessageRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/message/repository/MessageRepository.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/message/service/MessageService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/message/service/MessageService.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/message/service/MessageServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/message/service/MessageServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/runner/ConfigCommandRunner.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/runner/ConfigCommandRunner.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/controller/UserController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/controller/UserController.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/entity/Privilege.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/entity/Privilege.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/entity/Role.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/entity/Role.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/entity/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/entity/User.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/repository/PrivilegeRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/repository/PrivilegeRepository.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/repository/UserRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/repository/UserRepository.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/service/PrivilegeService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/service/PrivilegeService.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/service/PrivilegeServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/service/PrivilegeServiceImpl.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/service/UserService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/service/UserService.java -------------------------------------------------------------------------------- /src/main/java/com/fyeeme/quasar/user/service/UserServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/java/com/fyeeme/quasar/user/service/UserServiceImpl.java -------------------------------------------------------------------------------- /src/main/resources/application-dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/application-dev.yaml -------------------------------------------------------------------------------- /src/main/resources/application-prod.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/application-prod.yaml -------------------------------------------------------------------------------- /src/main/resources/application-test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/application-test.yaml -------------------------------------------------------------------------------- /src/main/resources/application.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/application.yaml -------------------------------------------------------------------------------- /src/main/resources/db/migration/V2021.12.18.215200__create_user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/db/migration/V2021.12.18.215200__create_user.sql -------------------------------------------------------------------------------- /src/main/resources/db/migration/V2022.06.15.172814__create_message.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/db/migration/V2022.06.15.172814__create_message.sql -------------------------------------------------------------------------------- /src/main/resources/db/migration/V2022.06.16.172410__init_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/db/migration/V2022.06.16.172410__init_data.sql -------------------------------------------------------------------------------- /src/main/resources/dist.application-dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/main/resources/dist.application-dev.yaml -------------------------------------------------------------------------------- /src/test/java/com/fyeeme/quasar/CaseConverterTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/java/com/fyeeme/quasar/CaseConverterTest.java -------------------------------------------------------------------------------- /src/test/java/com/fyeeme/quasar/QuasarApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/java/com/fyeeme/quasar/QuasarApplicationTests.java -------------------------------------------------------------------------------- /src/test/java/com/fyeeme/quasar/SnowflakeIdTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/java/com/fyeeme/quasar/SnowflakeIdTest.java -------------------------------------------------------------------------------- /src/test/java/com/fyeeme/quasar/generator/CodeGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/java/com/fyeeme/quasar/generator/CodeGenerator.java -------------------------------------------------------------------------------- /src/test/java/com/fyeeme/quasar/generator/mybatis/CustomCommentGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/java/com/fyeeme/quasar/generator/mybatis/CustomCommentGenerator.java -------------------------------------------------------------------------------- /src/test/resources/generator/template/controller.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/resources/generator/template/controller.ftl -------------------------------------------------------------------------------- /src/test/resources/generator/template/dto.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/resources/generator/template/dto.ftl -------------------------------------------------------------------------------- /src/test/resources/generator/template/repository.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/resources/generator/template/repository.ftl -------------------------------------------------------------------------------- /src/test/resources/generator/template/service-impl.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/resources/generator/template/service-impl.ftl -------------------------------------------------------------------------------- /src/test/resources/generator/template/service.ftl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fyeeme/vite-quasar-api/HEAD/src/test/resources/generator/template/service.ftl --------------------------------------------------------------------------------