{"id":19540951,"url":"https://github.com/qirolab/learn-vuex-with-basic-ecommerce-example","last_synced_at":"2025-04-26T16:32:10.177Z","repository":{"id":38401057,"uuid":"232744201","full_name":"qirolab/learn-vuex-with-basic-ecommerce-example","owner":"qirolab","description":"Watch Vuex state management tutorials here.","archived":false,"fork":false,"pushed_at":"2024-03-01T13:12:00.000Z","size":117,"stargazers_count":46,"open_issues_count":0,"forks_count":28,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-01T14:31:54.498Z","etag":null,"topics":["state-management","tutorial-code","tutorial-sourcecode","tutorials","vue","vue-state-manager","vue-tutorial","vuejs","vuejs2","vuex","vuex-tutorial"],"latest_commit_sha":null,"homepage":"https://qirolab.com","language":"PHP","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/qirolab.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":"2020-01-09T07:02:01.000Z","updated_at":"2024-01-23T08:54:49.000Z","dependencies_parsed_at":"2022-08-18T07:21:21.214Z","dependency_job_id":null,"html_url":"https://github.com/qirolab/learn-vuex-with-basic-ecommerce-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qirolab%2Flearn-vuex-with-basic-ecommerce-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qirolab%2Flearn-vuex-with-basic-ecommerce-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qirolab%2Flearn-vuex-with-basic-ecommerce-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qirolab%2Flearn-vuex-with-basic-ecommerce-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qirolab","download_url":"https://codeload.github.com/qirolab/learn-vuex-with-basic-ecommerce-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224040517,"owners_count":17245758,"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":["state-management","tutorial-code","tutorial-sourcecode","tutorials","vue","vue-state-manager","vue-tutorial","vuejs","vuejs2","vuex","vuex-tutorial"],"created_at":"2024-11-11T03:08:05.849Z","updated_at":"2024-11-11T03:08:06.693Z","avatar_url":"https://github.com/qirolab.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learn Vuex with basic ecommerce example\n\nWatch complete **[Vuex tutorials here](https://www.youtube.com/watch?v=JDR7_AHk9D4\u0026list=PL1TrjkMQ8UbVSDkDaLkjpeNGkblNU8rpW)**.\n\n## Laravel Api setup\nFor the Vuex tutorial purpose, I have created this very basic Laravel API. So, before running the Vuex project, you need to run the Laravel API project first. For that, follow the below steps:\n\n### Install composer dependencies\n```\ncd laravel-api\ncomposer install\n```\n### Database Migrations\nAfter installing composer dependencies, add your database credentials in `.env` file and then run migrations.\n```\nphp artisan migrate\n```\nNow it's time to generate some dummy products. For that, I have created `ProductTableSeeder`. It will generate dummy products using faker. So, run `db:seed` to generate some dummy products.\n```\nphp artisan db:seed\n```\nNow, in the terminal run `artisan serve` command. It will run the application at `http://127.0.0.1:8000` URL, and that URL path used in the Vuex source code.\n```\nphp artisan serve\n```\nIf you are running the Laravel API on a different URL path, then you need to update the URL path in the `src/apis/Api.js` of the Vuex project.\n\n## Vuex Project setup\n```\ncd vuex-tutorial\nnpm install\n```\n\n### Compiles and hot-reloads for development\n```\nnpm run serve\n```\n\n\n[Vuex tutorial (Vue.js state management) Playlist](https://www.youtube.com/playlist?list=PL1TrjkMQ8UbVSDkDaLkjpeNGkblNU8rpW)\n\n## Download your copy of the eBook today and become a JavaScript pro\n[![JavaScript: ES2015 to ES2023](https://i.imgur.com/YyCohWc.png)](https://qirolab.gumroad.com/l/javascript-from-es2015-to-es2023)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqirolab%2Flearn-vuex-with-basic-ecommerce-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqirolab%2Flearn-vuex-with-basic-ecommerce-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqirolab%2Flearn-vuex-with-basic-ecommerce-example/lists"}