johnnycopes / atocha

Monorepo for personal projects 🛠️
1 stars 1 forks source link

Creates shared `CountryService` #510

Closed johnnycopes closed 10 months ago

johnnycopes commented 10 months ago
  1. Creates new CountryService and puts it in the shared/data-access lib
  2. Migrates PlaceService and its dependencies to the learn/data-access lib

The new data services structure went from this:

ApiService (internal) -> PlaceService (shared)

to this:

ApiService (internal) -> CountryService (shared) -> PlaceService (learn)

thereby reducing strain on the PlaceService and freeing the explore/ libs from knowing anything about "places" when all it needs to know is "countries"