{"id":25459001,"url":"https://github.com/gasperlf/example-spring-cloud-microservices","last_synced_at":"2026-04-16T12:40:26.074Z","repository":{"id":219366584,"uuid":"157034311","full_name":"gasperlf/example-spring-cloud-microservices","owner":"gasperlf","description":"Many samples that shows how to create microservices with  spring cloud-gateway-sleuth-config-eureka and docker using maven plugin spotify","archived":false,"fork":false,"pushed_at":"2019-03-31T01:53:17.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-17T00:36:04.870Z","etag":null,"topics":["docker","docker-maven-plugin","java-8","liquibase","maven","mysql-database","spotify-plugin","spring-boot-2","spring-cloud-config","spring-cloud-connfig","spring-cloud-eureka","spring-cloud-gateway","spring-cloud-sleuth","spring-data-jpa","spring-webflux"],"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/gasperlf.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}},"created_at":"2018-11-11T00:33:26.000Z","updated_at":"2021-02-02T02:38:22.000Z","dependencies_parsed_at":"2024-01-27T00:53:27.278Z","dependency_job_id":null,"html_url":"https://github.com/gasperlf/example-spring-cloud-microservices","commit_stats":null,"previous_names":["gasperlf/example-spring-cloud-microservices"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gasperlf/example-spring-cloud-microservices","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasperlf%2Fexample-spring-cloud-microservices","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasperlf%2Fexample-spring-cloud-microservices/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasperlf%2Fexample-spring-cloud-microservices/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasperlf%2Fexample-spring-cloud-microservices/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gasperlf","download_url":"https://codeload.github.com/gasperlf/example-spring-cloud-microservices/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gasperlf%2Fexample-spring-cloud-microservices/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31886788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"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-maven-plugin","java-8","liquibase","maven","mysql-database","spotify-plugin","spring-boot-2","spring-cloud-config","spring-cloud-connfig","spring-cloud-eureka","spring-cloud-gateway","spring-cloud-sleuth","spring-data-jpa","spring-webflux"],"created_at":"2025-02-18T03:29:18.652Z","updated_at":"2026-04-16T12:40:26.046Z","avatar_url":"https://github.com/gasperlf.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Twitter](https://img.shields.io/github/followers/gasperlf.svg?label=Follow%20Me\u0026logo=twitter\u0026style=social)](https://twitter.com/gasper_lf)\n\n# Example-spring-cloud-microservices\nExample to create microservices using spring boot, spring cloud\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nJava jdk 8\n\n## Model\n\u003cimg src=\"https://image.ibb.co/fqREVL/ms-docker-1.png\" alt=\"ms-docker-1\" border=\"0\"\u003e\n\n## IDE\n\n1. Eclipse\n2. Intellij IDEA\n\n# Running \n#### Components\n1. Server config\n2. Registry-service\n3. Gateway-service\n4. Customer-service\n5. Financial-service\n6. Security-service\n7. workspace (in this folder you'll find properties files [local, docker[feature]])\n8. create docker image-instance mysql\n\n\n### Command\n \n ` java -jar [parameters] [name component].jar `\n\n#### Example \n\n\t` java -jar -Dname.property=value example.jar `\n\nFollow the next steps.\n\n1. run Server-config, this will run on port localhost:8888, on  this you need to pass some variables like parameters\n    `\n    -Dgit.uri=none -Dapi.profiles.mode=native -Dgit.username=none -Dgit.password=none -Dnative.searchLocation=[path folder workpace/profile]\n    `\n2. Run Registry-servivce this will run on port ***http://localhost:8000*** \n\n    this is the part where server-config plays, give the properties to Registry-service\n    \n   ` -Dconfig-server.uri=http://localhost:8888 `\n    \n    if you did all well in this step put on the browser ***http://localhost:8000*** and will load Eureka's page\n\n3. Run Customer-service this will run on port ***http://localhost:7001*** \n    this is the part where server-config plays, give the properties to Customer-service\n    \n    ` -Dconfig-server.uri=http://localhost:8888 `\n    \n4. Run Financial-service this will run on port ***http://localhost:7000*** \n    this is the part where server-config plays, give the properties to Financial-service\n    \n    ` -Dconfig-server.uri=http://localhost:8888 `\n    \n5. Run Security-service this will run on port ***http://localhost:7002*** \n    this is the part where server-config plays, give the properties to Security-service\n    \n    `  -Dconfig-server.uri=http://localhost:8888 `\n    \n6. Run Gateway-service this will run on port ***http://localhost:8080*** \n    this is the part where server-config plays, give the properties to Gateway-service\n       \n    ` -Dconfig-server.uri=http://localhost:8888 ` \n\n7.  Creating docker container database - mysql\n\t\n\t` docker run --name=mysql1 -d mysql/mysql-server:tag `\n\t\n\tExample\n\n\t\n\t  - we wil download the image and create container\n\n\t  \n\t\t\t` docker run --name=mysql-docker -p 3306:3306  -e MYSQL_ROOT_PASSWORD=root -d mysql:latest  `\n\n\t\t\t\n\t\t    by default user = root\n\t\t\n\t  - We will run de container\n\t\t\n\n\t\t` docker run \u003ccontainer id\u003e -it /bin/bash ` \n\t\t\t\n\n\t\t\tget in de docker container\n\t\t\n\t   - We log in in mysql container\n\t\t\t \n\n\t\t\t ` mysql -u root -p `\n\t\t\t\n\t\t\t\n\t\t\t  after mysql asks for password which is *root*\n\t\t\t \n\t  - We will use mysql commnads\t\n\t\t\t\n\t\t\t\n\t\t\t` show databases; `\n\t\t\t\n\t\t\t\n\t\t\toutput\n\t\t\t\n\t\t\t`\n\t\t\t+--------------------+     \n\t\t\t| Database           |\n\t\t\t+--------------------+\n\t\t\t| information_schema |\n\t\t\t| mysql              |\n\t\t\t| performance_schema |\n\t\t\t| sys                |\n\t\t\t+--------------------+ \n\t\t\t`\n\t  - we create databases according to properties [Security-services and Customer-services]\texecute the next statements\n\t  \n\t\t   \n\t\t   ` CREATE DATABASE customer_service; ` \n\t\t   \n\t\t   \n\t\t   ` CREATE DATABASE security_service; ` \t\t   \n\t\t\t\n## Contributing\n\n## Versioning\n\nThis is the first version.\n\n## Authors\n\n* **Lewis Florez Renza** - *Initial work*\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n\n## Acknowledgments\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgasperlf%2Fexample-spring-cloud-microservices","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgasperlf%2Fexample-spring-cloud-microservices","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgasperlf%2Fexample-spring-cloud-microservices/lists"}