{"id":14067892,"url":"https://github.com/jaehyeon-kim/r-api-demo","last_synced_at":"2025-07-30T02:32:08.708Z","repository":{"id":101142824,"uuid":"110098187","full_name":"jaehyeon-kim/r-api-demo","owner":"jaehyeon-kim","description":"Investigate API Development with R","archived":true,"fork":false,"pushed_at":"2017-11-17T11:21:11.000Z","size":5,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-13T07:13:58.964Z","etag":null,"topics":["api","plumber","r","rapache","rserve"],"latest_commit_sha":null,"homepage":"","language":"R","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/jaehyeon-kim.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}},"created_at":"2017-11-09T10:01:39.000Z","updated_at":"2023-01-27T22:50:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"409c3285-d3bd-40b3-8cf4-ccfd95f28ab5","html_url":"https://github.com/jaehyeon-kim/r-api-demo","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/jaehyeon-kim%2Fr-api-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaehyeon-kim%2Fr-api-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaehyeon-kim%2Fr-api-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaehyeon-kim%2Fr-api-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaehyeon-kim","download_url":"https://codeload.github.com/jaehyeon-kim/r-api-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228075633,"owners_count":17865508,"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":["api","plumber","r","rapache","rserve"],"created_at":"2024-08-13T07:05:49.921Z","updated_at":"2024-12-04T08:31:19.140Z","avatar_url":"https://github.com/jaehyeon-kim.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"## R API DEMO\n\nInvestigate API Development with R - [plumber](https://github.com/trestletech/plumber), [Rserve](https://www.rforge.net/Rserve/) and [rApache](http://rapache.net/).\n\n### Docker\n\n```\n## build\ndocker build -t=api ./api/.\n\n## run\n# rApache - 7000, Rserve - 8000, plumber - 9000\n# all APIs managed by supervisor\ndocker run -d -p 7000:80 -p 8000:8000 -p 9000:9000 --name api api:latest\n```\n\n### CURL\n\n```\n# change port accordingly\ncurl -H \"Content-Type: application/json\" -X POST -d '{\"n\": 10, \"wait\": 0.5}' http://localhost:7000/test\n```\n\n### Performance Test\n\n```\n## locust - only available for Python 2\n# pip install locustio\n\nlocust -f ./locustfile.py --host http://localhost:7000 --no-web -c 1 -r 1\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaehyeon-kim%2Fr-api-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaehyeon-kim%2Fr-api-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaehyeon-kim%2Fr-api-demo/lists"}