nuxt-ui-pro / dashboard

A dashboard template made with Vue and Nuxt UI Pro.
https://dashboard-template.nuxt.dev
308 stars 58 forks source link

Some example using the repository pattern #33

Open yurier98 opened 2 weeks ago

yurier98 commented 2 weeks ago

I loved NuxtUI, I would like to see an example of a CRUD using the repository pattern.

Thanks.

benjamincanac commented 2 weeks ago

Could you be more specific? You mean an integration with NuxtHub for example?

yurier98 commented 2 weeks ago

Not necessarily integrated with NuxtHub, I mean an example of a CRUD using the repository pattern that consumes some public API, for example, a CRUD for users or emails, the idea is to have an example of a project that shows how to have a nuxt project organized using this pattern.

An example that explains this pattern is this article: https://medium.com/@luizzappa/nuxt-3-repository-pattern-organising-and-managing-your-calls-to-apis-with-typescript-acd563a4e046

Just that it would be nice something more complete, that the repository contains the basic CRUD methods: getAll(), getById(), create(), update() and delete().

Thanks