{"id":26857179,"url":"https://github.com/alevp-dev/microservices-spring-boot","last_synced_at":"2025-03-31T00:31:43.380Z","repository":{"id":263510086,"uuid":"866784615","full_name":"alevp-dev/Microservices-Spring-Boot","owner":"alevp-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-11T15:57:51.000Z","size":173,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T16:40:48.300Z","etag":null,"topics":[],"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/alevp-dev.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}},"created_at":"2024-10-02T21:41:46.000Z","updated_at":"2025-03-11T15:57:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"53547657-86c0-46d6-985b-2338fed0c857","html_url":"https://github.com/alevp-dev/Microservices-Spring-Boot","commit_stats":null,"previous_names":["alevp-dev/apis-con-java-spring-boot","alevp-dev/microservices-spring-boot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FMicroservices-Spring-Boot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FMicroservices-Spring-Boot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FMicroservices-Spring-Boot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alevp-dev%2FMicroservices-Spring-Boot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alevp-dev","download_url":"https://codeload.github.com/alevp-dev/Microservices-Spring-Boot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399816,"owners_count":20770907,"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-31T00:31:42.864Z","updated_at":"2025-03-31T00:31:43.372Z","avatar_url":"https://github.com/alevp-dev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microservices with Spring Boot  \n\nThis project is a **RESTful API** for managing **purchase orders** using **Java Spring Boot**. It follows a **microservices-based architecture**, leveraging **JPA/Hibernate** for entity relationships and **JUnit/Mockito** for automated testing.  \n\nEach endpoint has been tested using **Postman**, ensuring reliability and correctness across all entities.  \n\n# Features  \n✔️ Microservices-based architecture.  \n✔️ Management of **purchase orders, customers, payments, products, notifications, order details, and inventory**.  \n✔️ Entity relationships handled with **JPA/Hibernate**.  \n✔️ Automated testing using **JUnit and Mockito**.  \n✔️ API integration testing with **Postman**.  \n\n# Technologies Used  \n🔹 **Java Spring Boot** – Backend implementation and microservices.  \n🔹 **JPA/Hibernate** – Data persistence and entity relationship management.  \n🔹 **Postman** – API testing.  \n🔹 **JUnit** – Unit testing.  \n🔹 **Mockito** – Mocking dependencies in unit tests.  \n\n# Tests  \nThe project includes automated tests covering the following entities:  \n\n- **Customer**: Creation, update, retrieval, and deletion.  \n- **Payment**: Processing and validation.  \n- **Product**: Inventory management and availability checks.  \n- **Notifier**: Notifications for orders and customers.  \n- **Order**: Creation, update, and deletion.  \n- **OrderDetail**: Management of order details.  \n- **Inventory**: Maintenance and tracking of stock levels.  \n\nEach service is tested using **mocked repositories** with **Mockito**, ensuring expected responses and behaviors through **JUnit** assertions.  \n\n# Running the Tests  \n1️⃣ **Clone the repository:**  \n````\ngit clone https://github.com/your-username/your-repo.git\ncd your-repo\n````\n2️⃣ **Ensure that JUnit and Mockito are properly set up.**\n3️⃣ **Run the tests using Maven:**\n````\nmvn test\n````\n\n# Contributions\nContributions, issues, and feature requests are welcome! Feel free to fork this repository and submit a pull request.\n\n---\nDeveloped with ❤️ by **Alejandra Villa Posada**\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falevp-dev%2Fmicroservices-spring-boot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falevp-dev%2Fmicroservices-spring-boot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falevp-dev%2Fmicroservices-spring-boot/lists"}