Giter Club home page Giter Club logo

r-plumber-app's Introduction

R Plumber ❤️ React

r plumber demo

The r-plumber-react app demonstrates how to create a React application that uses R plumber as a backen. This app replicates the responsive datatables tutorial. This application uses following tools.

Getting Started

1. Install the dev dependencies

Make sure Node and NPM are installed on your machine. You may also use Yarn. To test the installation or to see if these tools are already installed on your machine, run the following commands in the terminal.

node -v
npm -v

2. Clone the r-plumber-app repository

git clone https://github.com/davidruvolo51/r-plumber-app

3. Install dependencies

Next, install the npm packages that are required to run the app locally. I have decided to use pnpm to manage packages on my machine and across projects. To install pnpm, run the following command.

npm install -g pnpm

You will need to install the dependencies in the root directory and in the client/ directory.

pnpm install

cd client
pnpm install

If you prefer to use npm, use the following.

npm install

cd client
npm install

4. Install the required R packages

This application uses the following R packages

install.packages(c("htmltools", "rlang", "plumber", "palmerpenguins"))

5. Start the development servers

When you have installed everything, navigate back to the main directory and start the development server.

# if using npm
npm run dev

# if using yarn
yarn dev

This will start Plumber API and parcel. The client will be hosted at localhost:8000.

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.