{"id":13941695,"url":"https://github.com/davidruvolo51/r-react-demo","last_synced_at":"2025-06-22T12:07:31.665Z","repository":{"id":55119656,"uuid":"226104943","full_name":"davidruvolo51/r-react-demo","owner":"davidruvolo51","description":"R ❤️ React Demo application","archived":false,"fork":false,"pushed_at":"2023-10-17T02:56:21.000Z","size":2256,"stargazers_count":16,"open_issues_count":6,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-04T08:38:05.969Z","etag":null,"topics":["express","nodejs","r","react","shiny","shinyapps"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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":"2019-12-05T13:09:37.000Z","updated_at":"2024-09-30T07:17:48.000Z","dependencies_parsed_at":"2024-11-27T10:41:26.795Z","dependency_job_id":null,"html_url":"https://github.com/davidruvolo51/r-react-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/davidruvolo51/r-react-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fr-react-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fr-react-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fr-react-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fr-react-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidruvolo51","download_url":"https://codeload.github.com/davidruvolo51/r-react-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidruvolo51%2Fr-react-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261289419,"owners_count":23136070,"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":["express","nodejs","r","react","shiny","shinyapps"],"created_at":"2024-08-08T02:01:24.971Z","updated_at":"2025-06-22T12:07:26.637Z","avatar_url":"https://github.com/davidruvolo51.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# R ❤️ React Demo application\n\n![r react demo application preview](r-react-demo-screenshot.png)\n\nThe `r-react-demo` app demonstrates how to create a React application that uses R to process data server side. This is a fairly simple example, but it should provide a good starting point for your project. The app was built using the following tools.\n\n- Frontend\n  - [React](https://reactjs.org)\n  - [Webpack](https://webpack.js.org)\n- Backend\n  - [Express](https://expressjs.com)\n  - [r-script](https://github.com/fridgerator/r-script)\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\n```\n\n### 2. Clone the `r-react-demo` repository\n\n```shell\ngit clone https://github.com/davidruvolo51/r-react-demo\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 and in the `client/` directory.\n\n```shell\npnpm install\n\ncd client\npnpm install\n```\n\nIf you prefer to use `npm`, use the following.\n\n```shell\nnpm install\n\ncd client\nnpm install\n```\n\n### 4. Start the development servers\n\nWhen everything is install, navigate back to the main directory and start the development server. This will start the client at port `localhost:8000` and the API at `localhost:5000`.\n\n```shell\nnpm run dev\n```\n\n## Futher Reading\n\nThis application was built by piecing together a few blog posts. If you would like to start from scratch, checkout out the [How to create a React frontend and a Node/Express backend and connect them](https://www.freecodecamp.org/news/create-a-react-frontend-a-node-express-backend-and-connect-them-together-c5798926047c/) post.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidruvolo51%2Fr-react-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidruvolo51%2Fr-react-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidruvolo51%2Fr-react-demo/lists"}