{"id":16969014,"url":"https://github.com/webmasterdevlin/vuex-4-course","last_synced_at":"2025-09-05T16:41:45.569Z","repository":{"id":40811256,"uuid":"282588919","full_name":"webmasterdevlin/vuex-4-course","owner":"webmasterdevlin","description":"Vuex 4 in Vue 3 implementation","archived":false,"fork":false,"pushed_at":"2023-01-06T12:29:19.000Z","size":2523,"stargazers_count":0,"open_issues_count":24,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-29T23:59:59.211Z","etag":null,"topics":["bootstrap5","veevalidate","vuejs3","vuerouter","vuex4"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/webmasterdevlin.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-07-26T06:16:28.000Z","updated_at":"2020-12-28T00:22:14.000Z","dependencies_parsed_at":"2023-02-06T02:15:30.723Z","dependency_job_id":null,"html_url":"https://github.com/webmasterdevlin/vuex-4-course","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/webmasterdevlin/vuex-4-course","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fvuex-4-course","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fvuex-4-course/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fvuex-4-course/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fvuex-4-course/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmasterdevlin","download_url":"https://codeload.github.com/webmasterdevlin/vuex-4-course/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmasterdevlin%2Fvuex-4-course/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273787196,"owners_count":25168298,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bootstrap5","veevalidate","vuejs3","vuerouter","vuex4"],"created_at":"2024-10-14T00:23:45.605Z","updated_at":"2025-09-05T16:41:45.516Z","avatar_url":"https://github.com/webmasterdevlin.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vuex 4 Course\n\n```zsh\n$ vue create project-name\n```\n\nPush to Github\n\n## Migrate to Vue 3\n\n```zsh\n$ vue add vue-next\n```\n\n## Upgrade to latest npm packages\n\n- Need version lense VS extension\n- Go to package.json\n- Upgrade all packages\n\n```zsh\n$ rm -rf node_modules\n```\n\n## Project setup\n\n```zsh\n$ npm cache clean -f\n$ npm install\n```\n\n### Compiles and hot-reloads for development\n\n```zsh\n$ npm run serve\n```\n\n### Compiles and minifies for production\n\n```zsh\n$ npm run build\n```\n\n### What to build in order\n - upgrade/migrate to Vue.js 3\n - npm i bootstrap 5 alpha\n - npm i  bootstrap-icon\n - Navbar\n - Heroes (class card)\n - npm i vue-router 4\n - Router\n - npm i vuex 4\n - Setup Vuex 4 - hero module\n - Get Request (v-for)\n - Delete Request (class btn btn-danger)\n - Post Request (Form)\n - Put Request (editingTracker, v-if, v-else)\n - npm i jsonwebtoken\n - npm i -D @types/jsonwebtoken json-server-auth\n - Setup Vuex 4 - auth module\n - Register\n - Login\n - update auth service\n - authGuard\n - update router with meta requiresAuth and router BeforeEach\n - ForgotPassword\n - ContinueAs\n - Done! Now do the Villain part with its own page and Vuex module.\n\n### Vuex Setup\n\n- create store\n- write a module\n- write a state\n- npm i axios\n- write an api service\n- write a type\n- write an action\n- write a mutation\n- write a getter\n- update components with mapGetters and mapActions\n- npm i concurrently json-server\n- copy-paste db.json\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterdevlin%2Fvuex-4-course","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmasterdevlin%2Fvuex-4-course","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmasterdevlin%2Fvuex-4-course/lists"}