{"id":31644431,"url":"https://github.com/destrutoyt/spring-rest-demo","last_synced_at":"2026-04-02T02:51:08.768Z","repository":{"id":313580054,"uuid":"1051917469","full_name":"destrutoyt/spring-rest-demo","owner":"destrutoyt","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-07T02:38:56.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-07T04:16:07.235Z","etag":null,"topics":["api-rest","crud","java","mysql","postman","rest-api","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","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/destrutoyt.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-07T02:05:24.000Z","updated_at":"2025-09-07T02:40:24.000Z","dependencies_parsed_at":"2025-09-07T04:17:10.027Z","dependency_job_id":"efb3fac3-60a4-4b82-84bc-1141f9954477","html_url":"https://github.com/destrutoyt/spring-rest-demo","commit_stats":null,"previous_names":["destrutoyt/spring-rest-demo"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/destrutoyt/spring-rest-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrutoyt%2Fspring-rest-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrutoyt%2Fspring-rest-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrutoyt%2Fspring-rest-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrutoyt%2Fspring-rest-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/destrutoyt","download_url":"https://codeload.github.com/destrutoyt/spring-rest-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/destrutoyt%2Fspring-rest-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722768,"owners_count":26034461,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-rest","crud","java","mysql","postman","rest-api","spring","spring-boot"],"created_at":"2025-10-07T04:52:43.072Z","updated_at":"2025-10-07T04:52:45.413Z","avatar_url":"https://github.com/destrutoyt.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring REST API Demo\n\nThis project demonstrates how to design and build **RESTful APIs** with the **Spring Framework**.  \nIt connects to a **MySQL database**, retrieves and manipulates data, converts it into **JSON**, and exposes it through REST endpoints that can be consumed by web applications or other clients.  \n\nThe application showcases key backend development skills, including:  \n- 🚀 **Building REST APIs with Spring Boot**  \n- 🗄️ **CRUD operations (Create, Read, Update, Delete)**  \n- 🛢️ **Database integration with MySQL using Spring Data JPA**  \n- 🔄 **Object Relational Mapping (ORM)**  \n- 📦 **Data serialization with Jackson (JSON)**  \n- ⚠️ **Exception handling \u0026 validation**  \n- 🏗️ **Layered architecture (Controller → Service → Repository)**  \n- 🛠️ **API testing with Postman**\n---\n\n## 🚀 Tech Stack\n- ☕ **Java 21**\n- 🌱 **Spring Boot 3 / Spring Framework 6**\n- 🛢️ **MySQL**\n\n## 📦 Dependencies\n- 🌐 **Spring Web** – RESTful API development  \n- 🗄️ **Spring Data JPA** – ORM and database queries  \n- 🔗 **MySQL Connector/J** – JDBC driver for MySQL  \n- 📦 **Jackson** – JSON serialization/deserialization  \n- 🧪 **Spring Boot Starter Test** – unit \u0026 integration testing  \n\n## 🛠️ Development Tools\n- 🧑‍💻 **VS Code** – IDE for coding  \n- 🛠️ **Postman** – testing and documenting REST endpoints  \n- 🔗 **Git \u0026 GitHub** – version control \u0026 collaboration  \n\n---\n\n## 📂 Project Details\n\n### 📌 API Requirements\nThe API provides a simple **Employee Directory** service where REST clients can:  \n- 📋 Get a list of employees  \n- 🔍 Get a single employee by ID  \n- ➕ Add a new employee  \n- ✏️ Update an existing employee  \n- ❌ Delete an employee  \n\n### 🌐 API Endpoints\n| HTTP Method | URL | CRUD Action | Description |\n| ----------- | --- | ----------- | ----------- |\n| **POST**   | `/api/employees` | **Create** | ➕ Add a new employee |\n| **GET**    | `/api/employees` | **Read**   | 📋 Fetch all employees |\n| **GET**    | `/api/employees/{employeeID}` | **Read** | 🔍 Fetch employee by ID |\n| **PUT**    | `/api/employees/{employeeID}` | **Update** | ✏️ Update employee details |\n| **DELETE** | `/api/employees/{employeeID}` | **Delete** | ❌ Remove employee |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestrutoyt%2Fspring-rest-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdestrutoyt%2Fspring-rest-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdestrutoyt%2Fspring-rest-demo/lists"}