Giter VIP home page Giter VIP logo

mario's Introduction

maRio

Build Status

  • I want to use R to its advantages (data manipulation, modeling, viz, etc.) and then host my work on a website.
  • I want to do this without recreating my work in JS plotting libraries.
  • Plumber can be used to create REST API endpoints out of R objects/functions to be called from my website.

API Configuration

  • This API will be hosted as a single backend service for all of my projects
  • It is necessary to programmatically set up Plumber as a mounted router due to all the different endpoints to manage
mario
|   plumber.R (root router)
|   
|└──project_1
|   │   plot.R (endpoints defined here)
|
|└──project_2
|   │   plot.R (endpoints defined here)

Hosting

  • Plumber has integrations with DigitalOcean but building a Docker image allows for more flexibility in hosting options
  • Heroku is free (with caveats) so I have Dockerized the API, hosted it as a Heroku app, & integrated it into my Express app
  • Travis CI is then set up to automatically re-build the hosted API whenever I push changes to the master branch

mario's People

Contributors

jbixon13 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.