Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some example using the repository pattern #33

Open
yurier98 opened this issue Jun 17, 2024 · 2 comments
Open

Some example using the repository pattern #33

yurier98 opened this issue Jun 17, 2024 · 2 comments

Comments

@yurier98
Copy link

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

Thanks.

Copy link
Contributor

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

@yurier98
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants