{"id":14068481,"url":"https://github.com/davidruvolo51/shiny-parcel-template","last_synced_at":"2025-10-06T08:18:44.455Z","repository":{"id":53726086,"uuid":"258779804","full_name":"davidruvolo51/shiny-parcel-template","owner":"davidruvolo51","description":"An example setup for Shiny applications that use Parcel","archived":false,"fork":false,"pushed_at":"2023-08-03T06:15:47.000Z","size":822,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-04T09:39:32.771Z","etag":null,"topics":["parcel","r","shiny","shiny-apps","shiny-template"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidruvolo51.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-25T13:16:13.000Z","updated_at":"2023-09-17T23:26:36.000Z","dependencies_parsed_at":"2024-08-13T07:24:16.671Z","dependency_job_id":null,"html_url":"https://github.com/davidruvolo51/shiny-parcel-template","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fshiny-parcel-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fshiny-parcel-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fshiny-parcel-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fshiny-parcel-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidruvolo51","download_url":"https://codeload.github.com/davidruvolo51/shiny-parcel-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233791215,"owners_count":18730805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["parcel","r","shiny","shiny-apps","shiny-template"],"created_at":"2024-08-13T07:06:12.479Z","updated_at":"2025-09-21T20:31:40.628Z","avatar_url":"https://github.com/davidruvolo51.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"# Shiny + Parcel\n\nThe `shiny-parcel-template` contains the basic structure for creating Shiny applications using the application bundler [parcel.js](https://parceljs.org). Using these tools is useful for optimizing CSS and JavaScript files, as well as integrating many other JavaScript plugins and libraries. Some of the key features are listed below.\n\n- ✨ Sass enabled\n- 🔥 Hot Module Replacement\n- 📦 Shiny as a Package ([Golem](https://github.com/ThinkR-open/golem) style project structure)\n- 😍 And much more!\n\nThis application uses the following tools.\n\n- [Parceljs](https://parceljs.org)\n- [Node and NPM](https://nodejs.org/en/)\n- [Yarn](https://yarnpkg.com/en/)\n\nThis workspace is geared towards vscode, but can easily be adapted into a R project. If you decide to use vscode, I am using [radian](https://github.com/randy3k/radian) and [languageserver](https://github.com/REditorSupport/languageserver). Additional extensions can be found in the `.code-workspace` config file.\n\n## Getting Started\n\n### 1. Install Node and NPM\n\nMake sure [Node and NPM](https://nodejs.org/en/) are installed on your machine. You may also use [Yarn](https://yarnpkg.com/en/). To test the installation or to see if these tools are already installed on your machine, run the following commands in the terminal.\n\n```shell\nnode -v\nnpm -v\nyarn -v\n```\n\n### 2. Clone the `shiny-parcel-template` repository\n\n```shell\ngit clone https://github.com/davidruvolo51/shiny-parcel-template\n```\n\n### 3. Install dependencies\n\nNext, install the npm packages that are required to run the app locally. I have decided to use [pnpm](https://github.com/pnpm/pnpm) to manage packages on my machine and across projects. To install `pnpm`, run the following command.\n\n```shell\nnpm install -g pnpm\n```\n\nYou will need to install the dependencies in the root directory.\n\n```shell\npnpm install\n```\n\nIf you prefer to use `npm`, use `npm` instead of `pnpm`.\n\n### 4. Start the development servers\n\nWhen everything is installed, start the parcel. Run the following command. Parcel will run on `localhost:1234` (the default).\n\n```shell\nyarn dev\n```\n\nNext, start a new R session. If you are using vscode, create a new second terminal. Open the `app.R` file and run both commands. This will run shiny at port `8000`.\n\nOpen your browser and type `http://localhost:8000`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidruvolo51%2Fshiny-parcel-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidruvolo51%2Fshiny-parcel-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidruvolo51%2Fshiny-parcel-template/lists"}