{"id":13392492,"url":"https://github.com/vuex-orm/plugin-axios","last_synced_at":"2025-05-16T15:05:14.403Z","repository":{"id":38272815,"uuid":"151213111","full_name":"vuex-orm/plugin-axios","owner":"vuex-orm","description":"Vuex ORM persistence plugin to sync the store against a RESTful API.","archived":false,"fork":false,"pushed_at":"2022-12-11T10:10:21.000Z","size":4127,"stargazers_count":361,"open_issues_count":41,"forks_count":53,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-04-14T13:04:24.397Z","etag":null,"topics":["axios","vue","vuex","vuex-orm","vuex-orm-plugin","vuex-plugin"],"latest_commit_sha":null,"homepage":"https://vuex-orm.github.io/plugin-axios/","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/vuex-orm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"kiaking"}},"created_at":"2018-10-02T06:58:42.000Z","updated_at":"2024-04-09T20:52:40.000Z","dependencies_parsed_at":"2022-08-09T02:16:48.224Z","dependency_job_id":null,"html_url":"https://github.com/vuex-orm/plugin-axios","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuex-orm%2Fplugin-axios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuex-orm%2Fplugin-axios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuex-orm%2Fplugin-axios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuex-orm%2Fplugin-axios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vuex-orm","download_url":"https://codeload.github.com/vuex-orm/plugin-axios/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248564657,"owners_count":21125408,"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":["axios","vue","vuex","vuex-orm","vuex-orm-plugin","vuex-plugin"],"created_at":"2024-07-30T17:00:23.484Z","updated_at":"2025-04-12T11:47:54.355Z","avatar_url":"https://github.com/vuex-orm.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"192\" src=\"https://github.com/vuex-orm/vuex-orm/raw/master/logo-vuex-orm.png\" alt=\"Vuex ORM\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eVuex ORM Plugin: Axios\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@vuex-orm/plugin-axios\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/v/@vuex-orm/plugin-axios?color=blue\" alt=\"npm\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/vuex-orm/plugin-axios\"\u003e\n    \u003cimg src=\"https://travis-ci.org/vuex-orm/plugin-axios.svg?branch=master\" alt=\"Travis CI\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/vuex-orm/plugin-axios\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/vuex-orm/plugin-axios/branch/master/graph/badge.svg\" alt=\"codecov\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/vuex-orm/plugin-axios/blob/master/LICENSE.md\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/@vuex-orm/plugin-axios.svg\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nVuex ORM Axios plugin adds smooth integration between API requests and [Vuex ORM](https://github.com/vuex-orm/vuex-orm) data persistence through the awesome [axios](https://github.com/axios/axios).\n\nIf you use axios with Vuex ORM, you may find handling requests can become an arduous and repetitive process. This plugin bridges Vuex ORM and axios and brings a unified process to perform requests and persist response data with ease.\n\n```js\n// Example usage: fetch users and persist to store.\nUser.api().get('/api/users')\n```\n\n\u003ch2 align=\"center\"\u003eSponsors\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003eVuex ORM is sponsored by awesome folks. Big love to all of them from whole Vuex ORM community :two_hearts:\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003eSuper Love Sponsors\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/petertoth\"\u003e\n    \u003cimg src=\"https://avatars2.githubusercontent.com/u/3661783?s=460\u0026v=4\" alt=\"Peter Tóth\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/phaust\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/2367770?s=460\u0026v=4\" alt=\"Mario Kolli\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/cannikan\"\u003e\n    \u003cimg src=\"https://avatars2.githubusercontent.com/u/21893904?s=460\u0026v=4\" alt=\"Cannikan\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/somazx\"\u003e\n    \u003cimg src=\"https://avatars0.githubusercontent.com/u/7306?s=460\u0026v=4\" alt=\"Andy Koch\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/dylancopeland\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/99355?s=460\u0026v=4\" alt=\"Dylan Copeland\" width=\"88\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003eBig Love Sponsors\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/geraldbiggs\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/3213608?s=460\u0026v=4\" alt=\"geraldbiggs\" width=\"64\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/cuebit\"\u003e\n    \u003cimg src=\"https://avatars0.githubusercontent.com/u/1493221?s=460\u0026v=4\" alt=\"Cue\" width=\"64\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/kazupon\"\u003e\n    \u003cimg src=\"https://avatars0.githubusercontent.com/u/72989?s=400\u0026v=4\" alt=\"Kazuya Kawaguchi\" width=\"64\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jShaf\"\u003e\n    \u003cimg src=\"https://avatars3.githubusercontent.com/u/30289?s=400\u0026v=4\" alt=\"jShaf\" width=\"64\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003eA Love Sponsors\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/georgechaduneli\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/9340753?s=460\u0026v=4\" alt=\"George Chaduneli\" width=\"48\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/bpuig\"\u003e\n    \u003cimg src=\"https://avatars3.githubusercontent.com/u/22938625?s=460\u0026v=4\" alt=\"bpuig\" width=\"48\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/robokozo\"\u003e\n    \u003cimg src=\"https://avatars2.githubusercontent.com/u/1719221?s=400\u0026v=4\" alt=\"John\" width=\"48\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/mean-cj\"\u003e\n    \u003cimg src=\"https://avatars3.githubusercontent.com/u/1191385?s=400\u0026v=4\" alt=\"mean-cj\" width=\"48\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Documentation\n\nYou can check out the full documentation for Vuex ORM Plugin: Axios at https://vuex-orm.github.io/plugin-axios.\n\n## Questions \u0026 Discussions\n\nJoin us on our [Slack Channel](https://join.slack.com/t/vuex-orm/shared_invite/enQtNDQ0NjE3NTgyOTY2LTc1YTI2N2FjMGRlNGNmMzBkMGZlMmYxOTgzYzkzZDM2OTQ3OGExZDRkN2FmMGQ1MGJlOWM1NjU0MmRiN2VhYzQ) for any questions and discussions.\n\nAlthough there is the Slack Channel, do not hesitate to open an [issue](https://github.com/vuex-orm/plugin-axios/issues) for any question you might have. We're always more than happy to hear any feedback, and we don't care what kind of form they are.\n\n## Plugins\n\nVuex ORM can be extended via plugins to add additional features. Here is a list of available plugins.\n\n- [Vuex ORM GraphQL](https://github.com/vuex-orm/plugin-graphql) – The plugin to sync the store against a [GraphQL](https://graphql.org) API.\n- [Vuex ORM Search](https://github.com/vuex-orm/plugin-search) – The plugin adds a search() method to filter records using fuzzy search logic from the [Fuse.js](http://fusejs.io).\n- [Vuex ORM Change Flags](https://github.com/vuex-orm/plugin-change-flags) - Vuex ORM plugin for adding IsDirty / IsNew flags to model entities.\n- [Vuex ORM Soft Delete](https://github.com/vuex-orm/plugin-soft-delete) – Vuex ORM plugin for adding soft delete feature to model entities.\n\n## Contribution\n\nWe are excited that you are interested in contributing to Vuex ORM Plugin: Axios! Anything from raising an issue, submitting an idea of a new feature, or making a pull request is welcome! Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.\n\n### Pull Request Guidelines\n\nWhen submitting a new pull request, please make sure to follow these guidelines:\n\n- **For feature requests:** Checkout a topic branch from `dev` branch, and merge back against `dev` branch.\n- **For bug fixes:** Checkout a topic branch from `master` branch, and merge back against `master` branch.\n\nThese rules also apply to the documentation. If you're submitting documentation about a new feature that isn't released yet, you must checkout the `dev` branch, but for non-functional updates, such as fixing a typo, you may checkout and commit to the `master` branch.\n\n### Scripts\n\nThere are several scripts to help with development.\n\n```bash\nyarn build\n```\n\nCompile files and generate bundles in `dist` directory.\n\n```bash\nyarn lint\n```\n\nLint files using [Prettier](https://prettier.io/).\n\n```bash\nyarn test\n```\n\nRun the test using [Jest](https://jestjs.io/).\n\n```bash\nyarn test:watch\n```\n\nRun the test in watch mode.\n\n```bash\nyarn coverage\n```\n\nGenerate test coverage in `coverage` directory.\n\n```bash\nyarn docs\n```\n\nBuild and boot documentation server with [VuePress](https://vuepress.vuejs.org/).\n\n## License\n\nVuex ORM Plugin: Axios is open-sourced software licensed under the [MIT license](./LICENSE).\n","funding_links":["https://github.com/sponsors/kiaking"],"categories":["Plugins"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuex-orm%2Fplugin-axios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvuex-orm%2Fplugin-axios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuex-orm%2Fplugin-axios/lists"}