nuxt-plumber
nuxt-plumber copied to clipboard
Creating R web applications with Nuxt and Plumber.
Nuxt + Plumber
A basic sample Nuxt application with Plumber.
Plumber handles the backend as an API. Nuxt handles the view and calls the API, e.g http://127.0.0.1:3000/ (from Nuxt) will call http://127.0.0.1:8000/api (from Plumber).
Read the post here about this repository.
Quick start
Build Setup (Plumber/ API)
# Production build
$ ./index.R
Access it at http://localhost:8000/
Build Setup (Nuxt)
# Dependencies
$ npm install
# Development
$ npm run dev
# Production build
$ npm start
Access it at http://localhost:3000/
Notes
- You must run these two apps concurrently.
References
- https://nuxtjs.org/guide/commands/