Hi Bawenang, thanks for reading the article! The repository is the interface adapter of the persistence, where the repository interface is the secondary port of the domain and the repository implementation is the adapter that converts DataStores data (DTOs) into Entities and viceversa. The domain models like Product, User... are the entities. The datastores (api service, preferences) are the framework.