{"id":14067478,"url":"https://github.com/jbixon13/mario","last_synced_at":"2025-07-30T01:31:16.618Z","repository":{"id":118324505,"uuid":"237121508","full_name":"jbixon13/mario","owner":"jbixon13","description":"Implementing REST APIs through R Plumber","archived":false,"fork":false,"pushed_at":"2020-06-07T22:20:15.000Z","size":1040,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-04T07:38:01.026Z","etag":null,"topics":["docker","heroku","plumber","plumber-api","r","rest-api"],"latest_commit_sha":null,"homepage":"http://mario-plumber.herokuapp.com/hello/world","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/jbixon13.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":"2020-01-30T02:04:21.000Z","updated_at":"2021-06-08T01:23:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"cefebe38-67d5-41dd-8c56-ada177beeac0","html_url":"https://github.com/jbixon13/mario","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jbixon13/mario","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbixon13%2Fmario","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbixon13%2Fmario/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbixon13%2Fmario/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbixon13%2Fmario/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbixon13","download_url":"https://codeload.github.com/jbixon13/mario/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbixon13%2Fmario/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267792592,"owners_count":24144929,"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-07-29T02:00:12.549Z","response_time":2574,"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":["docker","heroku","plumber","plumber-api","r","rest-api"],"created_at":"2024-08-13T07:05:37.084Z","updated_at":"2025-07-30T01:31:16.304Z","avatar_url":"https://github.com/jbixon13.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# maRio\n[![Build Status](https://travis-ci.org/jbixon13/mario.svg?branch=master)](https://travis-ci.org/jbixon13/mario)\n\n* I want to use `R` to its advantages (data manipulation, modeling, viz, etc.) and then host my work on a website. \n* I want to do this without recreating my work in `JS` plotting libraries.\n* `Plumber` can be used to create REST API endpoints out of `R` objects/functions to be called from my website. \n\n## API Configuration\n* This API will be hosted as a single backend service for all of my projects\n* It is necessary to programmatically set up `Plumber` as a [mounted router](https://www.rplumber.io/docs/programmatic-usage.html#mount-static) due to all the different endpoints to manage\n\n```sh\nmario\n|   plumber.R (root router)\n|   \n|└──project_1\n|   │   plot.R (endpoints defined here)\n|\n|└──project_2\n|   │   plot.R (endpoints defined here)\n```\n\n## Hosting\n* `Plumber` has integrations with DigitalOcean but building a `Docker` image allows for more flexibility in hosting options\n* Heroku is free (with caveats) so I have Dockerized the API, hosted it as a Heroku app, \u0026 integrated it into my [Express app](https://github.com/jbixon13/nodeblog)\n* `Travis CI` is then set up to automatically re-build the hosted API whenever I push changes to the master branch\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbixon13%2Fmario","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbixon13%2Fmario","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbixon13%2Fmario/lists"}