├── .gitignore ├── .mvn └── wrapper │ ├── maven-wrapper.jar │ └── maven-wrapper.properties ├── Readme.md ├── mvnw ├── mvnw.cmd ├── pom.xml └── src ├── main ├── java │ └── com │ │ └── example │ │ └── postgresdemo │ │ ├── PostgresDemoApplication.java │ │ ├── controller │ │ ├── AnswerController.java │ │ └── QuestionController.java │ │ ├── exception │ │ └── ResourceNotFoundException.java │ │ ├── model │ │ ├── Answer.java │ │ ├── AuditModel.java │ │ └── Question.java │ │ └── repository │ │ ├── AnswerRepository.java │ │ └── QuestionRepository.java └── resources │ └── application.properties └── test └── java └── com └── example └── postgresdemo └── PostgresDemoApplicationTests.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/.mvn/wrapper/maven-wrapper.jar -------------------------------------------------------------------------------- /.mvn/wrapper/maven-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/.mvn/wrapper/maven-wrapper.properties -------------------------------------------------------------------------------- /Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/Readme.md -------------------------------------------------------------------------------- /mvnw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/mvnw -------------------------------------------------------------------------------- /mvnw.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/mvnw.cmd -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/PostgresDemoApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/PostgresDemoApplication.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/controller/AnswerController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/controller/AnswerController.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/controller/QuestionController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/controller/QuestionController.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/exception/ResourceNotFoundException.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/exception/ResourceNotFoundException.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/model/Answer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/model/Answer.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/model/AuditModel.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/model/AuditModel.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/model/Question.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/model/Question.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/repository/AnswerRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/repository/AnswerRepository.java -------------------------------------------------------------------------------- /src/main/java/com/example/postgresdemo/repository/QuestionRepository.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/java/com/example/postgresdemo/repository/QuestionRepository.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/callicoder/spring-boot-postgresql-jpa-hibernate-rest-api-demo/HEAD/src/test/java/com/example/postgresdemo/PostgresDemoApplicationTests.java --------------------------------------------------------------------------------