Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/glin/shiny-react-example
- Owner: glin
- Created: 2018-10-17T04:36:33.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-03-15T00:11:58.000Z (over 1 year ago)
- Last Synced: 2024-10-12T12:16:27.307Z (26 days ago)
- Topics: r, react, shiny
- Language: JavaScript
- Homepage:
- Size: 1.1 MB
- Stars: 55
- Watchers: 5
- Forks: 17
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - glin/shiny-react-example - Example of a Shiny app with a React front-end (JavaScript)
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