{"id":20791510,"url":"https://github.com/jcavat/http-server-springboot-example","last_synced_at":"2025-12-07T19:04:28.401Z","repository":{"id":146385748,"uuid":"162557155","full_name":"jcavat/http-server-springboot-example","owner":"jcavat","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-20T09:32:00.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-18T10:45:22.214Z","etag":null,"topics":["example","http-server","java11","snippet","spring-rest-api"],"latest_commit_sha":null,"homepage":null,"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/jcavat.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":"2018-12-20T09:31:20.000Z","updated_at":"2018-12-20T09:34:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6decc12-808f-4f42-8775-cf73b0d4bfe1","html_url":"https://github.com/jcavat/http-server-springboot-example","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/jcavat%2Fhttp-server-springboot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcavat%2Fhttp-server-springboot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcavat%2Fhttp-server-springboot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcavat%2Fhttp-server-springboot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcavat","download_url":"https://codeload.github.com/jcavat/http-server-springboot-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243136235,"owners_count":20241988,"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":["example","http-server","java11","snippet","spring-rest-api"],"created_at":"2024-11-17T15:45:11.038Z","updated_at":"2025-12-07T19:04:23.370Z","avatar_url":"https://github.com/jcavat.png","language":"Java","readme":"# Summary\n\nThis simple example lets you run a http server with Spring boot.\n\nHere are good resources who inspired this current snippet :\n\n- https://spring.io/guides/gs/rest-service/\n- https://www.baeldung.com/spring-controller-vs-restcontroller\n\n## How to\n\nBuild and run :\n\n```\nmvn clean package\nmvn spring-boot:run\n```\n\nOpen a browser at : http://localhost:8080/toto\n\nresult:\n\n```\n{\n  \"owner\": \"Marcus Miller\",\n  \"id\": 2,\n  \"xs\": [\n    \"Houhou\",\n    \"Haha\"\n  ]\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcavat%2Fhttp-server-springboot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcavat%2Fhttp-server-springboot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcavat%2Fhttp-server-springboot-example/lists"}