├── .github └── workflows │ └── azure-spring-cloud.yml ├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── README.md ├── docker-compose.yml ├── mvnw ├── mvnw.cmd ├── pom.xml ├── src ├── main │ ├── java │ │ └── dev │ │ │ └── danvega │ │ │ └── blog │ │ │ ├── Application.java │ │ │ ├── controller │ │ │ └── PostController.java │ │ │ ├── model │ │ │ ├── Author.java │ │ │ ├── Comment.java │ │ │ ├── Post.java │ │ │ ├── dto │ │ │ │ └── PostDetails.java │ │ │ └── json │ │ │ │ └── AuthorDeserializer.java │ │ │ └── repository │ │ │ ├── AuthorRepository.java │ │ │ └── PostRepository.java │ └── resources │ │ ├── application-dev.yml │ │ ├── application-prod.yml │ │ ├── application-test.yml │ │ ├── application.yml │ │ └── schema.sql └── test │ ├── java │ └── dev │ │ └── danvega │ │ └── blog │ │ ├── TestDataLoader.java │ │ ├── controller │ │ └── PostControllerTest.java │ │ └── repository │ │ ├── AuthorRepositoryTest.java │ │ └── PostRepositoryTest.java │ └── resources │ └── logback.xml └── system.properties /.github/workflows/azure-spring-cloud.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/.github/workflows/azure-spring-cloud.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/Application.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/Application.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/controller/PostController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/controller/PostController.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/model/Author.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/model/Author.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/model/Comment.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/model/Comment.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/model/Post.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/model/Post.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/model/dto/PostDetails.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/model/dto/PostDetails.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/model/json/AuthorDeserializer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/model/json/AuthorDeserializer.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/repository/AuthorRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/repository/AuthorRepository.java -------------------------------------------------------------------------------- /src/main/java/dev/danvega/blog/repository/PostRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/java/dev/danvega/blog/repository/PostRepository.java -------------------------------------------------------------------------------- /src/main/resources/application-dev.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/resources/application-dev.yml -------------------------------------------------------------------------------- /src/main/resources/application-prod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/resources/application-prod.yml -------------------------------------------------------------------------------- /src/main/resources/application-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/resources/application-test.yml -------------------------------------------------------------------------------- /src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/resources/application.yml -------------------------------------------------------------------------------- /src/main/resources/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/main/resources/schema.sql -------------------------------------------------------------------------------- /src/test/java/dev/danvega/blog/TestDataLoader.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/test/java/dev/danvega/blog/TestDataLoader.java -------------------------------------------------------------------------------- /src/test/java/dev/danvega/blog/controller/PostControllerTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/test/java/dev/danvega/blog/controller/PostControllerTest.java -------------------------------------------------------------------------------- /src/test/java/dev/danvega/blog/repository/AuthorRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/test/java/dev/danvega/blog/repository/AuthorRepositoryTest.java -------------------------------------------------------------------------------- /src/test/java/dev/danvega/blog/repository/PostRepositoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/test/java/dev/danvega/blog/repository/PostRepositoryTest.java -------------------------------------------------------------------------------- /src/test/resources/logback.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danvega/spring-blog/HEAD/src/test/resources/logback.xml -------------------------------------------------------------------------------- /system.properties: -------------------------------------------------------------------------------- 1 | java.runtime.version=17 --------------------------------------------------------------------------------