{"id":16246223,"url":"https://github.com/benruehl/react-express-exercise","last_synced_at":"2026-05-07T06:36:31.962Z","repository":{"id":99944783,"uuid":"187339385","full_name":"benruehl/react-express-exercise","owner":"benruehl","description":"An exercise consisting of a react client and an express server interacting with the GitHub API","archived":false,"fork":false,"pushed_at":"2019-05-22T21:14:23.000Z","size":271,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T07:48:20.773Z","etag":null,"topics":["express","github-api","react","redux","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/benruehl.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-05-18T09:32:29.000Z","updated_at":"2019-05-23T08:15:17.000Z","dependencies_parsed_at":"2023-03-24T18:33:08.952Z","dependency_job_id":null,"html_url":"https://github.com/benruehl/react-express-exercise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benruehl%2Freact-express-exercise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benruehl%2Freact-express-exercise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benruehl%2Freact-express-exercise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benruehl%2Freact-express-exercise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benruehl","download_url":"https://codeload.github.com/benruehl/react-express-exercise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838416,"owners_count":21004575,"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","github-api","react","redux","typescript"],"created_at":"2024-10-10T14:29:47.040Z","updated_at":"2026-05-07T06:36:26.940Z","avatar_url":"https://github.com/benruehl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-express-exercise\n\nAn exercise consisting of a react client and an express server interacting with the GitHub API\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/en/) installed (tested with v10)\n- [npm](https://www.npmjs.com/) installed (tested with v5.3)\n\n## Installation of backend\n\n1. Go to backend directory\n\n```sh\ncd express-backend\n```\n\n2. Install project dependencies\n\n```sh\nnpm install\n```\n\n3. Compile sources\n\n```sh\nnpm run build\n```\n\n4. Start application\n\n```sh\nnpm start\n```\n\n## Installation of frontend\n\n1. Go to backend directory\n\n```sh\ncd react-frontend\n```\n\n2. Install project dependencies\n\n```sh\nnpm install\n```\n\n3. Start application\n\n```sh\nnpm start\n```\n\n## Configuration\n\nFrontend and backend both support configuration via environment variables.\n\n**Backend**\n- `PORT` - The port of the application (default is `4000`)\n\n**Frontend**\n- `PORT` - The port of the application (default is `3000`)\n- `REACT_APP_BACKEND_URL` - The base url of the backend application (default is `http://localhost:4000/api/v1`)\n\nHow their values are set depends on the terminal used, e.g.:\n\n**Powershell**\n```sh\n$env:PORT = '5000'; npm start\n```\n\n**Bash**\n```sh\nPORT=8000 npm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenruehl%2Freact-express-exercise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenruehl%2Freact-express-exercise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenruehl%2Freact-express-exercise/lists"}