{"id":16651915,"url":"https://github.com/sswguo/springboot-um","last_synced_at":"2026-04-18T11:03:34.917Z","repository":{"id":44851188,"uuid":"200605678","full_name":"sswguo/springboot-um","owner":"sswguo","description":"Spring boot sample REST services","archived":false,"fork":false,"pushed_at":"2022-11-16T12:29:52.000Z","size":80,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T08:46:51.245Z","etag":null,"topics":["docker-compose","microservice","springboot"],"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/sswguo.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":"2019-08-05T07:35:59.000Z","updated_at":"2019-08-08T06:33:41.000Z","dependencies_parsed_at":"2023-01-23T05:46:08.876Z","dependency_job_id":null,"html_url":"https://github.com/sswguo/springboot-um","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sswguo%2Fspringboot-um","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sswguo%2Fspringboot-um/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sswguo%2Fspringboot-um/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sswguo%2Fspringboot-um/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sswguo","download_url":"https://codeload.github.com/sswguo/springboot-um/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243248110,"owners_count":20260748,"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":["docker-compose","microservice","springboot"],"created_at":"2024-10-12T09:26:59.765Z","updated_at":"2025-12-27T14:10:12.043Z","avatar_url":"https://github.com/sswguo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Springboot Demo\n\nYou need to have the following tools installed.\n\n- java8 \n- maven3\n- docker  \n- docker-compose\n\n### Services\n- User service\n- Notification service\n- Fake SMTP Server\n\n### Howto Run\n\nClone the project \n```\ngit clone https://github.com/sswguo/springboot-um.git\n```\n\nBuild projects\n\n```\nmvn clean install\n```\n\nRun docker-compose to build images and start containers\n```\ndocker-compose up --build\n```\n\nCheck the started containers \n\n```\ndocker-compose ps\n            Name                           Command                State           Ports\n---------------------------------------------------------------------------------------------------------------------------\nspringboot-um_notification_1       java -jar notification-0.0 ...   Up      0.0.0.0:8087-\u003e8080/tcp\nspringboot-um_springboot-um_1      java -jar springboot-um-0. ...   Up      0.0.0.0:8080-\u003e8080/tcp\nspringboot-um_fake_mail_server_1   sh -c java $JAVA_OPTS -Dja ...   Up      0.0.0.0:5025-\u003e5025/tcp, 0.0.0.0:5080-\u003e5080/tcp, 0.0.0.0:5081-\u003e5081/tcp\n```\n\n### RestAPI\n```\nhttp://localhost:8080/swagger-ui.html\n```\n\n### Rest Test\n```\ncd springboot-um\ncurl -d \"@data/users_req.json\" -H \"Content-Type: application/json\" -X POST http://localhost:8080/user/register\n```\n\nCheck the users:\n```\nhttp://localhost:8080/user/all\n```\n\nAnd check the emails in the fake mail server\n```\nhttp://localhost:5080/\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsswguo%2Fspringboot-um","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsswguo%2Fspringboot-um","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsswguo%2Fspringboot-um/lists"}