- Java 11
- Spring Boot 2.6.6
- Database (MySQL8 and H2)
- Spring Data JPA
- Bean Validation
- Logging SLF4j
- Gradle
- Spring Security (JWT)
- Docker
- Docker Compose
- Mapper (MupStruct)
- Swagger
- Lombok
- Flyway
- Spring Boot Test
- git clone https://github.com/simonpirko/yandex-dzen-rest-c51.git
- cd yandex-dzen-rest-c51
- gradle bootJar
- docker build -f Dockerfile.h2 -t tms/yandex-dzen-c51 .
- docker run -d -p 8080:8080 tms/yandex-dzen-c51
- docker ps
- H2 database: http://localhost:8080/db (JDBC URL: jdbc:h2:mem:db)
- Swagger: http://localhost:8080/swagger-ui/
- git clone https://github.com/simonpirko/yandex-dzen-rest-c51.git
- cd yandex-dzen-rest-c51
- gradle bootJar
- docker-compose build
- docker-compose up -d
- docker-compose ps
- Mysql access port: 3307, Web port: 8081
- Swagger: http://localhost:8081/swagger-ui/