├── .github └── workflows │ ├── api-tests.yml │ ├── dashboard-template.hbs │ └── wait-for-it.sh ├── .gitignore ├── README.md ├── checkstyle.xml ├── common ├── pom.xml └── src │ └── main │ └── java │ └── ru │ └── practicum │ └── ewm │ ├── Constants.java │ └── dto │ └── stats │ ├── StatInDto.java │ └── StatOutDto.java ├── docker-compose.yml ├── ewm-main-service-spec.json ├── ewm-stats-service-spec.json ├── lombok.config ├── main ├── Dockerfile ├── pom.xml └── src │ ├── main │ ├── java │ │ └── ru │ │ │ └── practicum │ │ │ └── ewm │ │ │ ├── ErrorHandler.java │ │ │ ├── MainAPI.java │ │ │ ├── dto │ │ │ ├── categories │ │ │ │ ├── CategoryFullDto.java │ │ │ │ └── CategoryInDto.java │ │ │ ├── compilations │ │ │ │ ├── CompilationInDto.java │ │ │ │ └── CompilationOutDto.java │ │ │ ├── events │ │ │ │ ├── EventInDto.java │ │ │ │ ├── EventOutDto.java │ │ │ │ └── EventPublicOutDto.java │ │ │ ├── locations │ │ │ │ └── LocationDto.java │ │ │ ├── requests │ │ │ │ └── RequestOutDto.java │ │ │ └── users │ │ │ │ ├── UserDto.java │ │ │ │ └── UserPublicDto.java │ │ │ ├── endpoints │ │ │ ├── admin │ │ │ │ ├── AdminCategoriesController.java │ │ │ │ ├── AdminCompilationsController.java │ │ │ │ ├── AdminEventsController.java │ │ │ │ ├── AdminStatsController.java │ │ │ │ ├── AdminUsersController.java │ │ │ │ └── service │ │ │ │ │ ├── AdminCategoriesService.java │ │ │ │ │ ├── AdminCategoriesServiceImpl.java │ │ │ │ │ ├── AdminCompilationsService.java │ │ │ │ │ ├── AdminCompilationsServiceImpl.java │ │ │ │ │ ├── AdminEventsService.java │ │ │ │ │ ├── AdminEventsServiceImpl.java │ │ │ │ │ ├── AdminUsersService.java │ │ │ │ │ └── AdminUsersServiceImpl.java │ │ │ ├── pub │ │ │ │ ├── PublicCategoriesController.java │ │ │ │ ├── PublicCompilationsController.java │ │ │ │ ├── PublicEventsController.java │ │ │ │ └── service │ │ │ │ │ ├── CategoriesService.java │ │ │ │ │ ├── CategoriesServiceImpl.java │ │ │ │ │ ├── CompilationsService.java │ │ │ │ │ ├── CompilationsServiceImpl.java │ │ │ │ │ ├── EventsService.java │ │ │ │ │ └── EventsServiceImpl.java │ │ │ └── user │ │ │ │ ├── UsersEventsController.java │ │ │ │ ├── UsersEventsRequestsController.java │ │ │ │ ├── UsersRequestsController.java │ │ │ │ └── service │ │ │ │ ├── RequestNotFoundException.java │ │ │ │ ├── RequestsService.java │ │ │ │ ├── RequestsServiceImpl.java │ │ │ │ ├── UsersEventsRequestsService.java │ │ │ │ ├── UsersEventsRequestsServiceImpl.java │ │ │ │ ├── UsersEventsService.java │ │ │ │ └── UsersEventsServiceImpl.java │ │ │ ├── exception │ │ │ ├── CategoryNotFoundException.java │ │ │ ├── CompilationNotFoundException.java │ │ │ ├── DoubleLikeException.java │ │ │ ├── EventClosedException.java │ │ │ ├── EventNotFoundException.java │ │ │ ├── LikeNotFoundException.java │ │ │ ├── UserNotFoundException.java │ │ │ └── UserRequestHimselfException.java │ │ │ ├── mapper │ │ │ ├── CategoryMapper.java │ │ │ ├── CompilationMapper.java │ │ │ ├── EventMapper.java │ │ │ ├── LocationMapper.java │ │ │ ├── RequestMapper.java │ │ │ └── UserMapper.java │ │ │ ├── model │ │ │ ├── Category.java │ │ │ ├── Compilation.java │ │ │ ├── Event.java │ │ │ ├── EventState.java │ │ │ ├── Like.java │ │ │ ├── LikeType.java │ │ │ ├── Location.java │ │ │ ├── Request.java │ │ │ ├── RequestState.java │ │ │ ├── SortType.java │ │ │ └── User.java │ │ │ ├── repository │ │ │ ├── CategoriesRepository.java │ │ │ ├── CompilationsRepository.java │ │ │ ├── EventsRepository.java │ │ │ ├── LikeRepository.java │ │ │ ├── RequestsRepository.java │ │ │ └── UsersRepository.java │ │ │ └── utils │ │ │ ├── AdminStatsClient.java │ │ │ ├── BaseClient.java │ │ │ └── Utils.java │ └── resources │ │ ├── application.properties │ │ └── schema.sql │ └── test │ └── java │ └── ru │ └── practicum │ └── ewm │ ├── MainAPITest.java │ ├── UtilsTest.java │ └── model │ └── dto │ ├── categories │ ├── CategoryFullDtoTest.java │ └── CategoryInDtoTest.java │ ├── compilations │ ├── CompilationInDtoTest.java │ └── CompilationOutDtoTest.java │ ├── events │ ├── EventInDtoTest.java │ └── EventOutDtoTest.java │ ├── locations │ └── LocationDtoTest.java │ ├── requests │ └── RequestOutDtoTest.java │ └── users │ └── UserDtoTest.java ├── pom.xml ├── postman ├── ewm-like-service.json ├── ewm-main-service.json └── ewm-stat-service.json ├── stats ├── Dockerfile ├── pom.xml └── src │ ├── main │ ├── java │ │ └── ru │ │ │ └── practicum │ │ │ └── ewm │ │ │ ├── ErrorHandler.java │ │ │ ├── StatsAPI.java │ │ │ ├── controller │ │ │ └── StatsController.java │ │ │ ├── mapper │ │ │ └── StatMapper.java │ │ │ ├── model │ │ │ └── Stat.java │ │ │ ├── repository │ │ │ └── StatsRepository.java │ │ │ └── service │ │ │ ├── StatsService.java │ │ │ └── StatsServiceImpl.java │ └── resources │ │ ├── application.properties │ │ └── schema.sql │ └── test │ └── java │ └── ru │ └── practicum │ └── ewm │ ├── StatsAPITest.java │ ├── dto │ └── stats │ │ ├── StatInDtoTest.java │ │ └── StatOutDtoTest.java │ └── mapper │ └── StatMapperTest.java └── uml ├── db-ewm-image.png ├── db-ewm.puml └── project.puml /.github/workflows/api-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/.github/workflows/api-tests.yml -------------------------------------------------------------------------------- /.github/workflows/dashboard-template.hbs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/.github/workflows/dashboard-template.hbs -------------------------------------------------------------------------------- /.github/workflows/wait-for-it.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/.github/workflows/wait-for-it.sh -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/README.md -------------------------------------------------------------------------------- /checkstyle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/checkstyle.xml -------------------------------------------------------------------------------- /common/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/common/pom.xml -------------------------------------------------------------------------------- /common/src/main/java/ru/practicum/ewm/Constants.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/common/src/main/java/ru/practicum/ewm/Constants.java -------------------------------------------------------------------------------- /common/src/main/java/ru/practicum/ewm/dto/stats/StatInDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/common/src/main/java/ru/practicum/ewm/dto/stats/StatInDto.java -------------------------------------------------------------------------------- /common/src/main/java/ru/practicum/ewm/dto/stats/StatOutDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/common/src/main/java/ru/practicum/ewm/dto/stats/StatOutDto.java -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /ewm-main-service-spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/ewm-main-service-spec.json -------------------------------------------------------------------------------- /ewm-stats-service-spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/ewm-stats-service-spec.json -------------------------------------------------------------------------------- /lombok.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/lombok.config -------------------------------------------------------------------------------- /main/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/Dockerfile -------------------------------------------------------------------------------- /main/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/pom.xml -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/ErrorHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/ErrorHandler.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/MainAPI.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/MainAPI.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/categories/CategoryFullDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/categories/CategoryFullDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/categories/CategoryInDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/categories/CategoryInDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/compilations/CompilationInDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/compilations/CompilationInDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/compilations/CompilationOutDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/compilations/CompilationOutDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/events/EventInDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/events/EventInDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/events/EventOutDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/events/EventOutDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/events/EventPublicOutDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/events/EventPublicOutDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/locations/LocationDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/locations/LocationDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/requests/RequestOutDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/requests/RequestOutDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/users/UserDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/users/UserDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/dto/users/UserPublicDto.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/dto/users/UserPublicDto.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminCategoriesController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminCategoriesController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminCompilationsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminCompilationsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminEventsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminEventsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminStatsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminStatsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminUsersController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/AdminUsersController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCategoriesService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCategoriesService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCategoriesServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCategoriesServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCompilationsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCompilationsService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCompilationsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminCompilationsServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminEventsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminEventsService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminEventsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminEventsServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminUsersService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminUsersService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminUsersServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/admin/service/AdminUsersServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/PublicCategoriesController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/PublicCategoriesController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/PublicCompilationsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/PublicCompilationsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/PublicEventsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/PublicEventsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CategoriesService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CategoriesService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CategoriesServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CategoriesServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CompilationsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CompilationsService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CompilationsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/service/CompilationsServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/service/EventsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/service/EventsService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/pub/service/EventsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/pub/service/EventsServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/UsersEventsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/UsersEventsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/UsersEventsRequestsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/UsersEventsRequestsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/UsersRequestsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/UsersRequestsController.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/service/RequestNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/service/RequestNotFoundException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/service/RequestsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/service/RequestsService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/service/RequestsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/service/RequestsServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsRequestsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsRequestsService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsRequestsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsRequestsServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsService.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/endpoints/user/service/UsersEventsServiceImpl.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/CategoryNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/CategoryNotFoundException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/CompilationNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/CompilationNotFoundException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/DoubleLikeException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/DoubleLikeException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/EventClosedException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/EventClosedException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/EventNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/EventNotFoundException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/LikeNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/LikeNotFoundException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/UserNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/UserNotFoundException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/exception/UserRequestHimselfException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/exception/UserRequestHimselfException.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/mapper/CategoryMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/mapper/CategoryMapper.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/mapper/CompilationMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/mapper/CompilationMapper.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/mapper/EventMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/mapper/EventMapper.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/mapper/LocationMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/mapper/LocationMapper.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/mapper/RequestMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/mapper/RequestMapper.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/mapper/UserMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/mapper/UserMapper.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/Category.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/Category.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/Compilation.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/Compilation.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/Event.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/Event.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/EventState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/EventState.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/Like.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/Like.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/LikeType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/LikeType.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/Location.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/Location.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/Request.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/Request.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/RequestState.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/RequestState.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/SortType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/SortType.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/model/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/model/User.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/repository/CategoriesRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/repository/CategoriesRepository.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/repository/CompilationsRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/repository/CompilationsRepository.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/repository/EventsRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/repository/EventsRepository.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/repository/LikeRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/repository/LikeRepository.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/repository/RequestsRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/repository/RequestsRepository.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/repository/UsersRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/repository/UsersRepository.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/utils/AdminStatsClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/utils/AdminStatsClient.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/utils/BaseClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/utils/BaseClient.java -------------------------------------------------------------------------------- /main/src/main/java/ru/practicum/ewm/utils/Utils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/java/ru/practicum/ewm/utils/Utils.java -------------------------------------------------------------------------------- /main/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/resources/application.properties -------------------------------------------------------------------------------- /main/src/main/resources/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/main/resources/schema.sql -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/MainAPITest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/MainAPITest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/UtilsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/UtilsTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/categories/CategoryFullDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/categories/CategoryFullDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/categories/CategoryInDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/categories/CategoryInDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/compilations/CompilationInDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/compilations/CompilationInDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/compilations/CompilationOutDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/compilations/CompilationOutDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/events/EventInDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/events/EventInDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/events/EventOutDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/events/EventOutDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/locations/LocationDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/locations/LocationDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/requests/RequestOutDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/requests/RequestOutDtoTest.java -------------------------------------------------------------------------------- /main/src/test/java/ru/practicum/ewm/model/dto/users/UserDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/main/src/test/java/ru/practicum/ewm/model/dto/users/UserDtoTest.java -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/pom.xml -------------------------------------------------------------------------------- /postman/ewm-like-service.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/postman/ewm-like-service.json -------------------------------------------------------------------------------- /postman/ewm-main-service.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/postman/ewm-main-service.json -------------------------------------------------------------------------------- /postman/ewm-stat-service.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/postman/ewm-stat-service.json -------------------------------------------------------------------------------- /stats/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/Dockerfile -------------------------------------------------------------------------------- /stats/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/pom.xml -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/ErrorHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/ErrorHandler.java -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/StatsAPI.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/StatsAPI.java -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/controller/StatsController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/controller/StatsController.java -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/mapper/StatMapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/mapper/StatMapper.java -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/model/Stat.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/model/Stat.java -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/repository/StatsRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/repository/StatsRepository.java -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/service/StatsService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/service/StatsService.java -------------------------------------------------------------------------------- /stats/src/main/java/ru/practicum/ewm/service/StatsServiceImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/java/ru/practicum/ewm/service/StatsServiceImpl.java -------------------------------------------------------------------------------- /stats/src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/resources/application.properties -------------------------------------------------------------------------------- /stats/src/main/resources/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/main/resources/schema.sql -------------------------------------------------------------------------------- /stats/src/test/java/ru/practicum/ewm/StatsAPITest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/test/java/ru/practicum/ewm/StatsAPITest.java -------------------------------------------------------------------------------- /stats/src/test/java/ru/practicum/ewm/dto/stats/StatInDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/test/java/ru/practicum/ewm/dto/stats/StatInDtoTest.java -------------------------------------------------------------------------------- /stats/src/test/java/ru/practicum/ewm/dto/stats/StatOutDtoTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/test/java/ru/practicum/ewm/dto/stats/StatOutDtoTest.java -------------------------------------------------------------------------------- /stats/src/test/java/ru/practicum/ewm/mapper/StatMapperTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/stats/src/test/java/ru/practicum/ewm/mapper/StatMapperTest.java -------------------------------------------------------------------------------- /uml/db-ewm-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/uml/db-ewm-image.png -------------------------------------------------------------------------------- /uml/db-ewm.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/uml/db-ewm.puml -------------------------------------------------------------------------------- /uml/project.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bannovdaniil/java-explore-with-me/HEAD/uml/project.puml --------------------------------------------------------------------------------