{"id":19490459,"url":"https://github.com/aenesgur/springboot-microservice-boilerplate","last_synced_at":"2025-04-15T14:06:59.063Z","repository":{"id":62063659,"uuid":"557270907","full_name":"aenesgur/springboot-microservice-boilerplate","owner":"aenesgur","description":"Microservice boilerplate application developed with Spring Boot, Spring Cloud, Discovery Server(Eureka), Circuit Breaker Resilience4j, Apache Kafka, Sql/NoSql, Docker","archived":false,"fork":false,"pushed_at":"2022-10-30T20:36:55.000Z","size":120443,"stargazers_count":12,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T14:06:39.045Z","etag":null,"topics":["discovery-server","docker","docker-compose","microservice","mongodb","mysql","postgresql","resilience4j","spring-boot","spring-cloud","spring-cloud-gateway","spring-cloud-loadbalancer"],"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/aenesgur.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}},"created_at":"2022-10-25T11:41:30.000Z","updated_at":"2025-04-10T06:41:54.000Z","dependencies_parsed_at":"2022-10-25T23:32:13.935Z","dependency_job_id":null,"html_url":"https://github.com/aenesgur/springboot-microservice-boilerplate","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/aenesgur%2Fspringboot-microservice-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aenesgur%2Fspringboot-microservice-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aenesgur%2Fspringboot-microservice-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aenesgur%2Fspringboot-microservice-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aenesgur","download_url":"https://codeload.github.com/aenesgur/springboot-microservice-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249085436,"owners_count":21210267,"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":["discovery-server","docker","docker-compose","microservice","mongodb","mysql","postgresql","resilience4j","spring-boot","spring-cloud","spring-cloud-gateway","spring-cloud-loadbalancer"],"created_at":"2024-11-10T21:13:05.064Z","updated_at":"2025-04-15T14:06:59.043Z","avatar_url":"https://github.com/aenesgur.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# springboot-microservice-boilerplate\nMicroservice boilerplate application developed with Spring Boot\n### Technologies\n* Spring Boot\n* Spring Data\n* Spring Cloud\n* Spring Cloud Gateway\n* Discovery Server ( Netflix Eureka Server )\n* Apache Kafka / Zookeeper / Kafdrop\n* Load Balancer\n* Circuit Breaker ( resilience4j )\n* MongoDB / Postgresql / Mysql\n* Docker / Docker Compose\n\n### Diagram\n\u003cimg width=\"647\" alt=\"microservice diagram ss\" src=\"https://user-images.githubusercontent.com/47754791/197885552-e96a194c-9e9f-47ef-b241-05a502f49773.png\"\u003e\n\n### Setup\n* Enter folder path\n* Run commands orderly:\n\n```sh\nmvn clean install\n```\n\n```sh\ndocker-compose up -d\n```\n\n### Postman Collection\n* Postman collection: /Microservice_App.postman_collection\n* Postman environment: /Microservice_App_Env.postman_environment\n\n### Pages and Rest APIs\n* Spring Eureka: http://localhost:8761/\n* Kafdrop (Visualize the Apache Kafka): http://localhost:9000/\n\n| Route                                  | HTTP Verb\t | POST body\t                                                                                                                                                                                    | Description\t          |\n|----------------------------------------|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|\n| http://localhost:8080/api/products     | `GET`     |                                                                                                                                                                                               | Get all products.     |\n| http://localhost:8080/api/products/{id}| `GET`     |                                                                                                                 | Get product by id.    |\n| http://localhost:8080/api/products     | `POST`    | { \"name\": \"product-1\", \"price\": 2750.50, \"inStock\": true, \"stockCount\": 100 }                                                                                                                 | Create a new product. |\n| http://localhost:8080/api/orders       | `POST`    | { \"orderItemDtoList\":[ { \"ref\": \"abb8087b-9b84-4a61-a260-6faabcb97c98\", \"price\": 5500, \"quantity\": 34 }, { \"ref\": \"abb8087b-9b84-4a61-a260-6faabcb97123\", \"price\": 5500, \"quantity\": 34 } ] } | Create a new order.   |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faenesgur%2Fspringboot-microservice-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faenesgur%2Fspringboot-microservice-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faenesgur%2Fspringboot-microservice-boilerplate/lists"}