{"id":26179307,"url":"https://github.com/bezkoder/spring-boot-h2-database-crud","last_synced_at":"2025-04-14T22:31:17.729Z","repository":{"id":64557351,"uuid":"322585457","full_name":"bezkoder/spring-boot-h2-database-crud","owner":"bezkoder","description":"Spring Boot H2 Database CRUD example with Spring JPA, Spring Web MVC","archived":false,"fork":false,"pushed_at":"2024-08-17T15:57:28.000Z","size":56,"stargazers_count":57,"open_issues_count":4,"forks_count":109,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T10:47:33.497Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bezkoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-12-18T12:12:31.000Z","updated_at":"2025-03-16T13:19:50.000Z","dependencies_parsed_at":"2024-02-04T09:59:15.715Z","dependency_job_id":null,"html_url":"https://github.com/bezkoder/spring-boot-h2-database-crud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fspring-boot-h2-database-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fspring-boot-h2-database-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fspring-boot-h2-database-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bezkoder%2Fspring-boot-h2-database-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bezkoder","download_url":"https://codeload.github.com/bezkoder/spring-boot-h2-database-crud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248971450,"owners_count":21191606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-11T21:49:33.051Z","updated_at":"2025-04-14T22:31:17.696Z","avatar_url":"https://github.com/bezkoder.png","language":"Java","readme":"# Spring Boot H2 Database CRUD example: Building Rest API with Spring Data JPA\n\nFor more detail, please visit:\n\u003e [Spring Boot JPA + H2 example: Build a CRUD Rest APIs](https://www.bezkoder.com/spring-boot-jpa-h2-example/)\n\nIn this tutorial, we're gonna build a Spring Boot Rest CRUD API example with Maven that use Spring Data JPA to interact with H2 database. You'll know:\n\n- How to configure Spring Data, JPA, Hibernate to work with Database\n- How to define Data Models and Repository interfaces\n- Way to create Spring Rest Controller to process HTTP requests\n- Way to use Spring Data JPA to interact with H2 Database\n\nFront-end that works well with this Back-end\n\u003e [Angular 8](https://www.bezkoder.com/angular-crud-app/) / [Angular 10](https://www.bezkoder.com/angular-10-crud-app/) / [Angular 11](https://www.bezkoder.com/angular-11-crud-app/) / [Angular 12](https://www.bezkoder.com/angular-12-crud-app/) / [Angular 13](https://www.bezkoder.com/angular-13-crud-example/) / [Angular 14](https://www.bezkoder.com/angular-14-crud-example/) / [Angular 15](https://www.bezkoder.com/angular-15-crud-example/) / [Angular 16](https://www.bezkoder.com/angular-16-crud-example/) / [Angular 17 Client](https://www.bezkoder.com/angular-17-crud-example/)\n\n\u003e [Vue 2 Client](https://www.bezkoder.com/vue-js-crud-app/) / [Vue 3 Client](https://www.bezkoder.com/vue-3-crud/) / [Vuetify Client](https://www.bezkoder.com/vuetify-data-table-example/)\n\n\u003e [React Client](https://www.bezkoder.com/react-hooks-crud-axios-api/) / [React Redux Client](https://www.bezkoder.com/redux-toolkit-crud-react-hooks/)\n\nMore Practice:\n\u003e [Spring Boot Validate Request Body](https://www.bezkoder.com/spring-boot-validate-request-body/)\n\n\u003e [Spring Boot File upload example with Multipart File](https://www.bezkoder.com/spring-boot-file-upload/)\n\n\u003e [Spring Boot Pagination \u0026 Filter example | Spring JPA, Pageable](https://www.bezkoder.com/spring-boot-pagination-filter-jpa-pageable/)\n\n\u003e [Spring Data JPA Sort/Order by multiple Columns | Spring Boot](https://www.bezkoder.com/spring-data-sort-multiple-columns/)\n\n\u003e [Spring Boot Repository Unit Test with @DataJpaTest](https://www.bezkoder.com/spring-boot-unit-test-jpa-repo-datajpatest/)\n\n\u003e [Spring Boot Rest Controller Unit Test with @WebMvcTest](https://www.bezkoder.com/spring-boot-webmvctest/)\n\n\u003e Cache the result: [Spring Boot Redis Cache example](https://www.bezkoder.com/spring-boot-redis-cache-example/)\n\n\u003e Documentation: [Spring Boot with Swagger 3 example](https://www.bezkoder.com/spring-boot-swagger-3/)\n\n\u003e Reactive Rest API: [Spring Boot WebFlux example](https://www.bezkoder.com/spring-boot-webflux-rest-api/)\n\n\u003e [Deploy Spring Boot App on AWS – Elastic Beanstalk](https://www.bezkoder.com/deploy-spring-boot-aws-eb/)\n\nException Handling:\n\u003e [Spring Boot @ControllerAdvice \u0026 @ExceptionHandler example](https://www.bezkoder.com/spring-boot-controlleradvice-exceptionhandler/)\n\n\u003e [@RestControllerAdvice example in Spring Boot](https://www.bezkoder.com/spring-boot-restcontrolleradvice/)\n\nAssociations:\n\u003e [Spring Boot One To One example with Spring JPA, Hibernate](https://www.bezkoder.com/jpa-one-to-one/)\n\n\u003e [Spring Boot One To Many example with Spring JPA, Hibernate](https://www.bezkoder.com/jpa-one-to-many/)\n\n\u003e [Spring Boot Many To Many example with Spring JPA, Hibernate](https://www.bezkoder.com/jpa-many-to-many/)\n\nOther databases:\n\u003e [Spring Boot JPA + MySQL: CRUD Rest API example](https://www.bezkoder.com/spring-boot-jpa-crud-rest-api/)\n\n\u003e [Spring Boot JPA + PostgreSQL: CRUD Rest API example](https://www.bezkoder.com/spring-boot-postgresql-example/)\n\nSecurity:\n\u003e [Spring Boot + Spring Security JWT Authentication \u0026 Authorization](https://www.bezkoder.com/spring-boot-jwt-authentication/)\n\nFullstack:\n\u003e [Vue + Spring Boot example](https://www.bezkoder.com/spring-boot-vue-js-crud-example/)\n\n\u003e [Angular 8 + Spring Boot example](https://www.bezkoder.com/angular-spring-boot-crud/)\n\n\u003e [Angular 10 + Spring Boot example](https://www.bezkoder.com/angular-10-spring-boot-crud/)\n\n\u003e [Angular 11 + Spring Boot example](https://www.bezkoder.com/angular-11-spring-boot-crud/)\n\n\u003e [Angular 12 + Spring Boot example](https://www.bezkoder.com/angular-12-spring-boot-crud/)\n\n\u003e [Angular 13 + Spring Boot example](https://www.bezkoder.com/spring-boot-angular-13-crud/)\n\n\u003e [Angular 14 + Spring Boot example](https://www.bezkoder.com/spring-boot-angular-14-crud/)\n\n\u003e [Angular 15 + Spring Boot example](https://www.bezkoder.com/spring-boot-angular-15-crud/)\n\n\u003e [Angular 16 + Spring Boot example](https://www.bezkoder.com/spring-boot-angular-16-crud/)\n\n\u003e [Angular 17 + Spring Boot example](https://www.bezkoder.com/spring-boot-angular-17-crud/)\n\n\u003e [React + Spring Boot + MySQL example](https://www.bezkoder.com/react-spring-boot-crud/)\n\n\u003e [React + Spring Boot + PostgreSQL example](https://www.bezkoder.com/spring-boot-react-postgresql/)\n\nRun both Back-end \u0026 Front-end in one place:\n\u003e [Integrate Angular with Spring Boot Rest API](https://www.bezkoder.com/integrate-angular-spring-boot/)\n\n\u003e [Integrate React.js with Spring Boot Rest API](https://www.bezkoder.com/integrate-reactjs-spring-boot/)\n\n\u003e [Integrate Vue.js with Spring Boot Rest API](https://www.bezkoder.com/integrate-vue-spring-boot/)\n\n## Run Spring Boot application\n```\nmvn spring-boot:run\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fspring-boot-h2-database-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbezkoder%2Fspring-boot-h2-database-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbezkoder%2Fspring-boot-h2-database-crud/lists"}