I have recently been working on a project with an API backend. Following DDD — or at least the DataMapper pattern — I have a Domain folder with all my Entities, Collections, etc. At this point I’ve already had two repositories. One for the API and another for the frontend…