Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/glin/shiny-react-example

Example of a Shiny app with a React front-end
https://github.com/glin/shiny-react-example

r react shiny

Last synced: 10 days ago
JSON representation

Example of a Shiny app with a React front-end

Awesome Lists containing this project

README

        

# shiny-react-example

Example of a Shiny app with a React front-end

[Demo](https://shiny.glin.io/shiny-react-example)

### Installation

```sh
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)
```sh
npm start # or run main.R in an R console
```
2. Run Webpack dev server (with hot reloading enabled)
```
npm run dev
```
3. Open http://localhost:4000

### Production
1. Build the React app in production mode
```
npm run build
```
2. Run the Shiny app