How to abstract a database transactions on a usecase level for Firebase in a Clean Architecture?
I’m currently building a project using Clean Architecture principles with Firebase. I’m also using Turborepo for my monorepo structure. In my codebase, under packages/, there is a “core” package that contains my business logic, including Entities and Usecases. For instance,…