1-fredrikstad / sangbok

Webapp for speidere som ønsker å finne fram til speidersangene rundt leirbålet
GNU General Public License v3.0
4 stars 1 forks source link

Extract database calls from domain to API #60

Closed Chaaarles closed 3 years ago

Chaaarles commented 3 years ago

Describe the solution you'd like We should decouple out render code from our backend logic. I propose we do this with API-classes exposing methods returning domain objects. As opposed to our current way of exposing actual database queries. This will make our render code independent of our backend, thereby maintaining a good separation of concerns.

amunds1 commented 3 years ago

Gutta backer