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

Refactoring to a clean architecture #43

Open
Harineko0 opened this issue Apr 24, 2024 · 0 comments
Open

Refactoring to a clean architecture #43

Harineko0 opened this issue Apr 24, 2024 · 0 comments

Comments

@Harineko0
Copy link
Collaborator

Details

Currently, RTK Query directly depends on firestore sdk and even take on the role of logic.
I wanna separate it as

  • Cache (RTK Query)
  • Logic (Service)
  • Infra (Repository)

Add these repositories below

  • AuthRepository: FIrebase Auth
  • UserRepository
  • DocumentRepository

Add these services below:

  • UserService
  • DocumentService
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

1 participant