Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/virtualstaticvoid/heroku-docker-r-plumber-app
Example R Plumber Application on Heroku using heroku-docker-r
https://github.com/virtualstaticvoid/heroku-docker-r-plumber-app
demo-app docker heroku heroku-buildpack heroku-deployment plumber plumber-api r template
Last synced: 3 months ago
JSON representation
Example R Plumber Application on Heroku using heroku-docker-r
- Host: GitHub
- URL: https://github.com/virtualstaticvoid/heroku-docker-r-plumber-app
- Owner: virtualstaticvoid
- License: mit
- Created: 2020-04-25T12:16:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-05T15:34:42.000Z (over 3 years ago)
- Last Synced: 2024-06-05T01:48:10.397Z (5 months ago)
- Topics: demo-app, docker, heroku, heroku-buildpack, heroku-deployment, plumber, plumber-api, r, template
- Language: R
- Homepage:
- Size: 91.8 KB
- Stars: 2
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - virtualstaticvoid/heroku-docker-r-plumber-app - Example R Plumber Application on Heroku using heroku-docker-r (R)
README
# Example Plumber App on Heroku
This is an example [Plumber][1] application, which uses [heroku-docker-r][2] for Heroku.
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
You can use this project as a template for creating Plumber applications on Heroku. Execute these commands to get started:
```bash
# get the sources
git clone https://github.com/virtualstaticvoid/heroku-docker-r-plumber-app.git
cd heroku-docker-r-plumber-app# optionally, reinitialize git
rm -rf .git
git init
git add --all
git commit -m "initial"# create a new heroku application and deploye
heroku create --stack=container
git push heroku master# view the application
heroku open
```The following paths are provided:
* [`/echo?msg=MSG`](plumber.R#L14)
* [`/plot`](plumber.R#L21)
* [`/sum?x=X&y=Y`](plumber.R#L30)The OpenAPI (Swagger) user-interface is available via the [`/__docs__/`](app.R#L10) path.
## License
MIT License. Copyright (c) 2020 Chris Stefano. See [MIT_LICENSE](MIT_LICENSE) for details.
[1]: https://www.rplumber.io
[2]: https://github.com/virtualstaticvoid/heroku-docker-r