augustin-wien / augustina-backend

An open-source web shop designed for selling magazines on the street.
GNU Affero General Public License v3.0
7 stars 0 forks source link

Add database queries for both API calls #13

Closed lebe1 closed 1 year ago

lebe1 commented 1 year ago

Type of change

Description

This PR adds database queries to both API calls.

Concern

I'm pretty sure there is a better way to work with JSONs in a PostgresQL database like being explained here. This does not seem to be the right solution for it. For now this PR exists to discuss about it.

Checklist: