{"id":18843514,"url":"https://github.com/leventebalogh/react-apollo-template","last_synced_at":"2025-04-14T07:32:29.001Z","repository":{"id":39894120,"uuid":"220030770","full_name":"leventebalogh/react-apollo-template","owner":"leventebalogh","description":"A template repository for starting a new React - Apollo project. (server + client)","archived":false,"fork":false,"pushed_at":"2023-01-05T00:39:27.000Z","size":857,"stargazers_count":5,"open_issues_count":20,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T21:38:39.286Z","etag":null,"topics":["apollo","docker","graphql","parcel","react","tailwind","template"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leventebalogh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-06T15:37:23.000Z","updated_at":"2023-03-08T04:54:20.000Z","dependencies_parsed_at":"2023-02-03T01:31:41.655Z","dependency_job_id":null,"html_url":"https://github.com/leventebalogh/react-apollo-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leventebalogh%2Freact-apollo-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leventebalogh%2Freact-apollo-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leventebalogh%2Freact-apollo-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leventebalogh%2Freact-apollo-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leventebalogh","download_url":"https://codeload.github.com/leventebalogh/react-apollo-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248839538,"owners_count":21169827,"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":["apollo","docker","graphql","parcel","react","tailwind","template"],"created_at":"2024-11-08T02:58:03.259Z","updated_at":"2025-04-14T07:32:28.490Z","avatar_url":"https://github.com/leventebalogh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚡️ React - Apollo Template\n\nThis repository serves as a template for creating React - Apollo projects quickly.\nIt includes both the client-side and server-side setup including server-side rendering.\n\n## Features\n- Project: **Yarn workspaces** for easier development\n- Project: **Linting (ESLint)** set up and added to pre-commit hooks\n- Project: **Testing (JEST)** set up and added to pre-commit hooks\n- Project: **Auto-updating NPM dependencies** with one command (updtr)\n- Server: **Express** set up for the server\n- Server: **Apollo-Server** set up and integrated with examples \n- Server: **Parcel** middleware set up \n- Server: **Dockerized** self-contained service for easier deployment \n- Client: **React** set up (latest)\n- Client: **Routing** set up with examples\n- Client: **Apollo (GraphQL)** set up with examples\n- Client: **Hot-reloading** with Parcel\n- Client: **Hashed bundles** for easier caching in production\n- Client: **Tailwind CSS** for using utility-first CSS\n\n## Install\n```bash\n# Installs dependencies from the project root\n$ yarn \n```\n\n## Development\n```bash\n# ⚠️ RUN FROM THE REPO ROOT\n# Runs the server \u0026 client in development mode.\n# Will update the client-code with hot-module-reloading on any change. (Parcel)\n# Will restart the server on any change. (Nodemon)\n# Your app will be visible on http://localhost:8080\n$ yarn dev\n\n\n# ⚠️ RUN FROM THE REPO ROOT / APP FOLDER (app-client|app-server)\n# Runs Jest\n$ yarn test\n\n\n# ⚠️ RUN FROM THE REPO ROOT / APP FOLDER (app-client|app-server)\n# Runs ESLint and automatically fixes auto-fixable problems \n$ yarn lint\n\n\n# ⚠️ RUN FROM THE REPO ROOT\n# Updates the dependencies automatically and reverts if there are any collisions\n$ yarn update-dependencies\n```\n\n\n## Production\n```bash\n# ⚠️ RUN FROM THE REPO ROOT\n# Runs the app as a docker container. Currently exposes port 8080.\n$ docker-compose up --build\n\n\n# ⚠️ RUN FROM THE REPO ROOT\n# Builds both the client and the server (both outputs go into a \"build\" directory)\n$ yarn build\n\n\n# ⚠️ RUN FROM THE REPO ROOT\n# Runs the production version of the app (will use Server Side Rendering) \n$ yarn prod\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleventebalogh%2Freact-apollo-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleventebalogh%2Freact-apollo-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleventebalogh%2Freact-apollo-template/lists"}