{"id":19537380,"url":"https://github.com/languagexange/rtkdemo","last_synced_at":"2026-05-15T00:32:07.523Z","repository":{"id":229836090,"uuid":"777566136","full_name":"LanguageXange/rtkdemo","owner":"LanguageXange","description":"rtk demo","archived":false,"fork":false,"pushed_at":"2024-03-31T06:19:55.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T18:13:03.199Z","etag":null,"topics":["pnpm","reacttoolkit","rtk","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/LanguageXange.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-26T04:58:50.000Z","updated_at":"2024-03-26T05:00:14.000Z","dependencies_parsed_at":"2024-03-31T07:25:56.127Z","dependency_job_id":"ff6717f6-bf9c-4e1a-a90f-7ee3b6f488ba","html_url":"https://github.com/LanguageXange/rtkdemo","commit_stats":null,"previous_names":["languagexange/rtkdemo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LanguageXange%2Frtkdemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LanguageXange%2Frtkdemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LanguageXange%2Frtkdemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LanguageXange%2Frtkdemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LanguageXange","download_url":"https://codeload.github.com/LanguageXange/rtkdemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240790782,"owners_count":19858109,"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":["pnpm","reacttoolkit","rtk","typescript","vite"],"created_at":"2024-11-11T02:27:37.410Z","updated_at":"2026-05-15T00:32:07.448Z","avatar_url":"https://github.com/LanguageXange.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## RTK posts demo app\n\nsee `main0.tsx` and `App.tsx`\n\n## RTK query demo with To do App and JSON Server\n`main.tsx` and `App2.tsx` and `features/todos` and `features/api`\n\n`pnpm add json-server` ( install it locally)\n`npx json-server data/db.json --port 3500` ( need to add npx to run it)\ngetting an error `File db.json not found`\nhttps://github.com/typicode/json-server\n`pnpm rm json-server` ( json-server@1.0.0alpha is not working)\nlet's install the stable version\nhttps://github.com/typicode/json-server/tree/v0\n`pnpm add json-server@0.17.4`\n\n\nRun the app:\n`pnpm run dev`\n`npx json-server data/db.json --port 3500`\n\n\n# React + TypeScript + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanguagexange%2Frtkdemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanguagexange%2Frtkdemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanguagexange%2Frtkdemo/lists"}