{"id":13610797,"url":"https://github.com/areindl/nuxt-structure-with-modules","last_synced_at":"2025-04-13T01:32:53.887Z","repository":{"id":46039098,"uuid":"406078078","full_name":"areindl/nuxt-structure-with-modules","owner":"areindl","description":"Lightning Talk at Nuxt Nation 2021. Now updated to Nuxt 3. ","archived":false,"fork":false,"pushed_at":"2024-04-01T18:51:52.000Z","size":19787,"stargazers_count":143,"open_issues_count":1,"forks_count":24,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-08-01T19:55:43.460Z","etag":null,"topics":["ddd-example","ddd-patterns","nuxt"],"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/areindl.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,"publiccode":null,"codemeta":null}},"created_at":"2021-09-13T18:03:00.000Z","updated_at":"2024-07-25T01:30:39.000Z","dependencies_parsed_at":"2024-01-04T14:30:29.002Z","dependency_job_id":"546ed4b9-6bed-49f6-a81d-2b440b99beb0","html_url":"https://github.com/areindl/nuxt-structure-with-modules","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/areindl%2Fnuxt-structure-with-modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areindl%2Fnuxt-structure-with-modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areindl%2Fnuxt-structure-with-modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/areindl%2Fnuxt-structure-with-modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/areindl","download_url":"https://codeload.github.com/areindl/nuxt-structure-with-modules/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223558331,"owners_count":17165108,"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":["ddd-example","ddd-patterns","nuxt"],"created_at":"2024-08-01T19:01:48.072Z","updated_at":"2024-11-07T17:30:34.581Z","avatar_url":"https://github.com/areindl.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# 🙋🏽‍♂️ Domain-Driven Design \u0026 Nuxt - Using Nuxt Modules to structure large Nuxt Apps\n\n#### ⚡️ Talk at NUXT NATION by Anton Reindl\n\nIn my talk in 2021, I introduced Domain Driven Design and talked about structuring apps according to domain modules. I and demonstrated how to use Nuxt 2 modules to create independent submodules including Vuex modules and routes.\n\nThe original Nuxt 2 example can be found in a legacy [here](https://github.com/areindl/nuxt-structure-with-modules/tree/nuxt-v2).\n\n### 🚀 Nuxt 3\n\nI reimplemented the example of \"Anton's Biketours\" in Nuxt 3.  This example implements a fresh Nuxt 3 with an landing page ( `pages/index.vue` ) and one domain-module module, namely the blog-module imported from `.modules/blog` . The module has its own components, composable and pages folder to better separate the domain from the rest of the app.\n\nI also recommend to look at the [documentation](https://v3.nuxtjs.org).\n\n## Scope\n\n```bash\nnpm install\n```\n\n## Development\n\nStart the development server on [http://localhost:3000](http://localhost:3000)\n\n```bash\nnpm run dev\n```\n\n## Production\n\nBuild the application for production:\n\n```bash\nnpm run build\n```\n\nCheckout the [deployment documentation](https://v3.nuxtjs.org/docs/deployment).\n\n### 📚 Resources\n\n* [x] [Slides of this Talk](https://github.com/areindl/nuxt-structure-with-modules/blob/c7e3ea69f3e5aa66ccefdb0089322e78ae243b51/static/slides.pdf)\n* [x] Blog post [Domain-Driven Design in Nuxt Apps](https://vueschool.io/articles/vuejs-tutorials/domain-driven-design-in-nuxt-apps/) by Filip Rakowski\n* [x] Recommended DDD-Books:\n  + [x] Domain-Driven Design: Tackling Complexity in the Heart of Software - by Eric Evans\n  + [x] Implementing Domain-Driven Design by Vaughn Vernon\n  + [x] Domain-Driven Design Distilled by Vaughn Vernon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareindl%2Fnuxt-structure-with-modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fareindl%2Fnuxt-structure-with-modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fareindl%2Fnuxt-structure-with-modules/lists"}