{"id":15013548,"url":"https://github.com/mohamad-shosha/spring-jpa","last_synced_at":"2026-02-04T18:02:00.166Z","repository":{"id":257793326,"uuid":"861245303","full_name":"Mohamad-shosha/Spring-Jpa","owner":"Mohamad-shosha","description":"\"The project showcases the use of JPA for database operations and Hibernate for Object-Relational Mapping (ORM), providing seamless backend integration for managing and querying data, along with Docker and Docker Compose configurations to facilitate containerization and deployment.\"","archived":false,"fork":false,"pushed_at":"2025-04-16T02:30:43.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T08:48:46.109Z","etag":null,"topics":["docker","docker-compose","dockerfile","dockerhub","hibernate","java","jpa-repository","liquibase","maven","mysql","spring-boot"],"latest_commit_sha":null,"homepage":"https://spring.io/projects/spring-data-jpa","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/Mohamad-shosha.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-22T11:54:57.000Z","updated_at":"2025-04-16T02:30:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"e041ce6b-5649-4373-a780-cdb300d3a35f","html_url":"https://github.com/Mohamad-shosha/Spring-Jpa","commit_stats":null,"previous_names":["mohamad-shosha/spring-jpa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mohamad-shosha/Spring-Jpa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamad-shosha%2FSpring-Jpa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamad-shosha%2FSpring-Jpa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamad-shosha%2FSpring-Jpa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamad-shosha%2FSpring-Jpa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mohamad-shosha","download_url":"https://codeload.github.com/Mohamad-shosha/Spring-Jpa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mohamad-shosha%2FSpring-Jpa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29092714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docker-compose","dockerfile","dockerhub","hibernate","java","jpa-repository","liquibase","maven","mysql","spring-boot"],"created_at":"2024-09-24T19:44:25.291Z","updated_at":"2026-02-04T18:02:00.148Z","avatar_url":"https://github.com/Mohamad-shosha.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring-Jpa\n\nThis project demonstrates the use of Java Persistence API (JPA) for database operations and Hibernate for Object-Relational Mapping (ORM). It provides seamless backend integration for managing and querying data, featuring three main entities: Instructor, Address, and Course. Liquibase is used for database schema management, and Postman is utilized as a client for testing the API.\n\n## 📝 Table of Contents\n- [Features](#features)\n- [Prerequisites](#prerequisites)\n- [Getting Started](#getting-started)\n- [Technologies](#technologies)\n- [Demo](#demo)\n- [Docker](#docker)\n- [Resources](#resources)\n\n## 🚀 Features\n\n- *Create, Read, Update, and Delete* operations for Instructor, Address, and Course.\n- *RESTful API* design for easy interaction.\n- *Spring Boot* for backend development with automatic configuration and dependency management.\n- *JPA \u0026 Hibernate* for efficient ORM and database interactions.\n- *Liquibase* for database versioning and migrations.\n- *Postman* for testing API endpoints.\n\nExplore the powerful features of this project:\n\n### 1. *Create*\n\nAdd new Instructor, Address, or Course entities through a straightforward API.\n\n### 2. *Read*\n\nRetrieve data for Instructor, Address, or Course entities.\n\n### 3. *Update*\n\nModify existing entities with ease.\n\n### 4. *Delete*\n\nRemove entities with a single API call.\n\n---\n\n## 📖 Prerequisites\n\nBefore you begin, ensure you have the following:\n\n- *Java Development Kit (JDK)* installed (preferably JDK 11 or later).\n- *Maven* installed for dependency management.\n- Your favorite IDE (e.g., IntelliJ IDEA, Eclipse) for code editing.\n- *Postman* for API testing.\n\n---\n\n## ✨ Getting Started\n\n### Step 1: Create a Spring Boot Project\n\nGenerate a new Spring Boot project using [Spring Initializr](https://start.spring.io/) with the following settings:\n\n- Project: Maven Project\n- Language: Java\n- Spring Boot: Latest stable version\n- Packaging: Jar\n- Dependencies: Spring Web, Spring Data JPA, Liquibase, MySQL Driver\n\nClick \"Generate\" to download the project zip file.\n\n### Step 2: Extract and Import into IDE\n\nExtract the downloaded zip file and import the project into your preferred IDE.\n\n### Step 3: Configure Database and Liquibase\n\n- *Database Configuration*: Update `application.properties` or `application.yml` with your database connection details.\n- *Liquibase Configuration*: Configure Liquibase in your `application.properties` and add your changelog files in `src/main/resources/db/changelog`.\n\n### Step 4: Define Entities\n\nCreate entity classes for Instructor, Address, and Course in your project.\n\n### Step 5: Create Repository Interfaces\n\nCreate repository interfaces for each entity to perform CRUD operations.\n\n### Step 6: Implement Controllers\n\nCreate REST controllers to handle HTTP requests and interact with your repositories.\n\n### Step 7: Test Using Postman\n\nUse Postman to test your API endpoints by sending requests to create, read, update, and delete entities.\n\n### Step 8: Run Your Application\n\nRun your Spring Boot application. The server will start at `http://localhost:8080`.\n\n---\n\n## 📚 Technologies\n\n- *Spring Boot*: For building the backend application.\n- *JPA \u0026 Hibernate*: For ORM and database interactions.\n- *Liquibase*: For database schema management and migrations.\n- *MySQL*: As the database.\n- *Postman*: For API testing.\n\n---\n\n## 🎥 Demo\n\n[Watch the demo video here](https://github.com/your-repo/demo-link).\n\n---\n\n## 🐳 Docker\n\nTo push your Docker image to Docker Hub, use the following command:\n\n```bash\ndocker push mohamadshosha/spring-jpa-app:tagname\n```\n\n## 🗂 Resources\n\n- [Spring Boot Documentation](https://spring.io/projects/spring-boot)\n- [JPA and Hibernate Guide](https://docs.jboss.org/hibernate/orm/current/userguide/html_single/)\n- [Liquibase Documentation](https://www.liquibase.org/documentation/index.html)\n- [Postman Documentation](https://learning.postman.com/docs/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamad-shosha%2Fspring-jpa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohamad-shosha%2Fspring-jpa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohamad-shosha%2Fspring-jpa/lists"}