{"id":22744119,"url":"https://github.com/mehradi-github/ref-react-devops-2406","last_synced_at":"2026-04-10T15:01:55.778Z","repository":{"id":245092119,"uuid":"817223197","full_name":"mehradi-github/ref-react-devops-2406","owner":"mehradi-github","description":"Frontend project with CI/CD","archived":false,"fork":false,"pushed_at":"2024-07-11T14:35:17.000Z","size":131,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-05T07:12:04.423Z","etag":null,"topics":["docker","docker-compose","graphql","jenkins","react","redux-thunk","sass","scss"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/mehradi-github.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":"2024-06-19T09:09:42.000Z","updated_at":"2024-07-11T14:35:21.000Z","dependencies_parsed_at":"2024-07-11T16:43:48.040Z","dependency_job_id":null,"html_url":"https://github.com/mehradi-github/ref-react-devops-2406","commit_stats":null,"previous_names":["mehradi-github/ref-react-devops-2406"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-react-devops-2406","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-react-devops-2406/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-react-devops-2406/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-react-devops-2406/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehradi-github","download_url":"https://codeload.github.com/mehradi-github/ref-react-devops-2406/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277351,"owners_count":20751548,"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":["docker","docker-compose","graphql","jenkins","react","redux-thunk","sass","scss"],"created_at":"2024-12-11T01:39:53.784Z","updated_at":"2025-12-30T20:29:51.278Z","avatar_url":"https://github.com/mehradi-github.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend project with React and CI/CD\n\n- [Frontend project with React and CI/CD](#frontend-project-with-react-and-cicd)\n  - [Install React + TypeScript + Vite](#install-react--typescript--vite)\n    - [Expanding the ESLint configuration](#expanding-the-eslint-configuration)\n  - [integrating GraphQL with RTK-Query](#integrating-graphql-with-rtk-query)\n\n## Install React + TypeScript + Vite\n\n[Vite](https://vitejs.dev/guide/) is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:\n\n```sh\nnpm create vite@latest\n```\n\n### Expanding the ESLint configuration\n\nIf you are developing a production application, we recommend updating the configuration to enable type aware lint rules:\n\n- Configure the top-level `parserOptions` property like this:\n\n```js\nexport default {\n  // other rules...\n  parserOptions: {\n    ecmaVersion: \"latest\",\n    sourceType: \"module\",\n    project: [\"./tsconfig.json\", \"./tsconfig.node.json\"],\n    tsconfigRootDir: __dirname,\n  },\n};\n```\n\n- Replace `plugin:@typescript-eslint/recommended` to `plugin:@typescript-eslint/recommended-type-checked` or `plugin:@typescript-eslint/strict-type-checked`\n- Optionally add `plugin:@typescript-eslint/stylistic-type-checked`\n- Install [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) and add `plugin:react/recommended` \u0026 `plugin:react/jsx-runtime` to the `extends` list\n\n## integrating GraphQL with RTK-Query\n\n**Redux Toolkit** is the official toolset for efficient Redux development. This makes life much easier for developers by reducing boilerplate code and incorporating many more advanced features built on top of Redux.\n\n**RTK-Query** is an optional add-on that comes built-in with Redux Toolkit. To put simply, it is a powerful data fetching and caching tool that comes with many advanced features.\n\n**GraphQL** is a querying language for APIs.\n\n**Graphql-codegen** library is used to automatically generate our queries and types from our graphql schema and document files.\n\n```sh\nnpm i graphql graphql-codegen --save\n\nnpm i @graphql-codegen/cli @graphql-codegen/client-preset @rtk-query/graphql-request-base-query @graphql-codegen/typescript-resolvers @graphql-codegen/typescript-rtk-query --save-dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehradi-github%2Fref-react-devops-2406","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehradi-github%2Fref-react-devops-2406","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehradi-github%2Fref-react-devops-2406/lists"}