Skip to content

glin/shiny-react-example

Repository files navigation

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. Build the React app with auto-reloading on UI file changes (refresh to see changes):

    npm run watch
  2. Run the Shiny app with auto-reloading on R file changes:

    npm start

    Or in your R console:

    source("dev.R")
  3. Open http://localhost:3000

Production

  1. Build the React app:

    npm run build
  2. Publish the Shiny app with the dist/ directory included.

About

Example of a Shiny app with a React front-end

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •