trvinh / shiny-react-example

Example of a Shiny app with a React front-end

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shiny-react-example

Example of a Shiny app with a React front-end

Demo

Installation

git clone https://github.com/glin/shiny-react-example
cd shiny-react-example
npm install

Development

  1. Run the Shiny app in development mode (with live reloading enabled)
npm start  # or run main.R in an R console
  1. Run Webpack dev server (with hot reloading enabled)
npm run dev
  1. Open http://localhost:4000

Production

  1. Build the React app in production mode
npm run build
  1. Run the Shiny app

About

Example of a Shiny app with a React front-end


Languages

Language:JavaScript 84.5%Language:R 12.1%Language:HTML 3.4%