{"id":22848755,"url":"https://github.com/membrane/membrane-spring-boot-starter","last_synced_at":"2025-09-04T16:45:18.514Z","repository":{"id":58566369,"uuid":"90980299","full_name":"membrane/membrane-spring-boot-starter","owner":"membrane","description":"A Spring Boot Starter for Membrane Service Proxy.","archived":false,"fork":false,"pushed_at":"2017-06-18T20:23:32.000Z","size":166,"stargazers_count":10,"open_issues_count":5,"forks_count":5,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-04T23:11:22.927Z","etag":null,"topics":["embedded","java","java-8","reverse-proxy","spring-boot","spring-boot-starter","standalone"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/membrane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-11T13:07:50.000Z","updated_at":"2022-09-04T09:54:08.000Z","dependencies_parsed_at":"2022-09-05T10:21:38.915Z","dependency_job_id":null,"html_url":"https://github.com/membrane/membrane-spring-boot-starter","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/membrane/membrane-spring-boot-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fmembrane-spring-boot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fmembrane-spring-boot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fmembrane-spring-boot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fmembrane-spring-boot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/membrane","download_url":"https://codeload.github.com/membrane/membrane-spring-boot-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/membrane%2Fmembrane-spring-boot-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273641173,"owners_count":25142243,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["embedded","java","java-8","reverse-proxy","spring-boot","spring-boot-starter","standalone"],"created_at":"2024-12-13T04:13:58.309Z","updated_at":"2025-09-04T16:45:18.460Z","avatar_url":"https://github.com/membrane.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Membrane Spring Boot Starter\n\n[![CircleCI](https://circleci.com/gh/membrane/membrane-spring-boot-starter.svg?style=shield\u0026circle-token=8c730ac71f3736480b6b713ff86fe8b17a14cfa3)](https://circleci.com/gh/membrane/membrane-spring-boot-starter)\n[![Release](https://jitpack.io/v/membrane/membrane-spring-boot-starter.svg)](https://jitpack.io/#membrane/membrane-spring-boot-starter)\n[![Dependency Status](https://www.versioneye.com/user/projects/59147f67e1638f00500b4509/badge.svg?style=flat)](https://www.versioneye.com/user/projects/59147f67e1638f00500b4509)\n[![codecov](https://codecov.io/gh/membrane/membrane-spring-boot-starter/branch/master/graph/badge.svg)](https://codecov.io/gh/membrane/membrane-spring-boot-starter)\n[![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)](https://raw.githubusercontent.com/membrane/membrane-spring-boot-starter/master/LICENSE)\n\nA Spring Boot Starter for [Membrane Service Proxy](https://github.com/membrane/service-proxy).\n\n## Usage\n\nForward all `GET` requests starting with `/jokes` to [The Internet Chuck Norris Database API](http://www.icndb.com/api/).\n\n```java\n@EnableMembrane\n@SpringBootApplication\npublic class Application {\n    @Bean\n    public Proxies proxies() {\n        return p -\u003e p\n            .serviceProxy(s -\u003e s\n                .matches(m -\u003e m\n                     .method(GET) \n                     .pathPrefix(\"/jokes\"))\n                .target(t -\u003e t.host(\"api.icndb.com\")));\n    }\n\n    public static void main(String[] args) {\n        SpringApplication.run(Application.class, args);\n    }\n}\n```\n\nTest the configuration by performing a `GET` request.\n\n```sh\n$ curl http://localhost:8080/jokes/497\n```\n\nThe output should look similar to this.\n\n```json\n{\n    \"type\": \"success\",\n        \"value\": {\n        \"id\": 497,\n        \"joke\": \"If Chuck Norris writes code with bugs, the bugs fix themselves.\",\n        \"categories\": [\n            \"nerdy\"\n        ]\n    }\n}\n```\n\n## Installation\n\n### Maven\n\n```xml\n\u003crepositories\u003e\n    \u003crepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/repository\u003e\n\u003c/repositories\u003e\n\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.github.membrane\u003c/groupId\u003e\n        \u003cartifactId\u003emembrane-spring-boot-starter\u003c/artifactId\u003e\n        \u003cversion\u003e0.6.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n### Gradle\n\n```groovy\nrepositories {\n    maven { url 'https://jitpack.io' }\n}\n\ndependencies {\n    compile 'com.github.membrane:membrane-spring-boot-starter:0.6.0'\n}\n```\n\n## Acknowledgements\n\nThanks [@snicoll](https://github.com/snicoll) for pointing out flaws in the auto-configuration!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembrane%2Fmembrane-spring-boot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmembrane%2Fmembrane-spring-boot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmembrane%2Fmembrane-spring-boot-starter/lists"}