jeudi 12 mars 2020

How to handle multiple APIs/Libraries having same purpose

Lets say i am developing a Nestjs app that gives users latest weather details. I want to wrap multiple weather APIs and design it in such a way that i can easily add more APIs later. User can select to get data from multiple APIs, the receiving data structure should be same .So i am looking for recommendations/suggestions for designing my architecture and structure for my classes and database etc.

Using PostgreSQL with TypeORM.

Aucun commentaire:

Enregistrer un commentaire