{"id":23297661,"url":"https://github.com/drag13/react-client-server-example","last_synced_at":"2025-08-16T22:32:21.092Z","repository":{"id":37088630,"uuid":"504444689","full_name":"Drag13/react-client-server-example","owner":"Drag13","description":"Client Server Demo monorepo example packed together with NPM workspace. Client side - React with Vite, server - Hapi with Swagger. TypeScript, Jest, Prettier, EsLint, Husky preconfigured","archived":false,"fork":false,"pushed_at":"2022-09-07T11:20:07.000Z","size":764,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T19:54:17.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Drag13.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-17T07:59:16.000Z","updated_at":"2022-06-17T15:49:12.000Z","dependencies_parsed_at":"2023-01-17T13:31:53.929Z","dependency_job_id":null,"html_url":"https://github.com/Drag13/react-client-server-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Drag13/react-client-server-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drag13%2Freact-client-server-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drag13%2Freact-client-server-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drag13%2Freact-client-server-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drag13%2Freact-client-server-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Drag13","download_url":"https://codeload.github.com/Drag13/react-client-server-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Drag13%2Freact-client-server-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270781196,"owners_count":24643804,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-20T07:18:42.562Z","updated_at":"2025-08-16T22:32:21.065Z","avatar_url":"https://github.com/Drag13.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Client Server Monorepo - Example\n\n[\u003cimg src=\"standswithukraine.svg\"\u003e](https://savelife.in.ua/donate/)\n\nThis is a ClientServer monorepo built with React and Hapi for personal experiments.\n\n## Features\n\n- Full TypeScript support\n- Shared project for common models/functionality\n- Prettifying on commit with prettier\n- Linting on commit with EsLint\n- Testing on push with Jest with pre setup threshold\n- Build on pull request within GitHub Actions\n\n### Client\n\n- Latest version of React - V18\n- Vite for better development experience\n\n### Server\n\n- [Hapi](https://github.com/hapijs/hapi) as a server\n- [Swagger](https://swagger.io/) support with [hapi-swagger](https://github.com/hapi-swagger/hapi-swagger)\n- Validation with [Joi](https://joi.dev/api/)\n- Hot updates with nodemon\n\n## Setup\n\n- Clone the current repo: `git clone https://github.com/Drag13/react-client-server-example.git`\n- Install dependencies using `npm i` or `npm ci` for older NPM which doesn't respect package.lock file\n\n## Development\n\nTo start experiments execute `npm run dev:server` and `npm run dev:client`. Then visit:\n\n- Client: http://localhost:3000/\n- Server: http://localhost:5000/documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrag13%2Freact-client-server-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrag13%2Freact-client-server-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrag13%2Freact-client-server-example/lists"}