serlo / api.serlo.org

Public GraphQL API of https://serlo.org/
https://api.serlo.org/___graphql
Apache License 2.0
15 stars 4 forks source link

Move database-layer endpoints to API #1243

Closed AndreasHuber closed 1 month ago

AndreasHuber commented 7 months ago

https://github.com/serlo/api.serlo.org/pull/1234 already provided the database access to the API gateway and as an example moved a first endpoint, UserSetDescriptionMutation, to the API gateway. Now the other endpoints can be moved in similar fashion. The goal of this is to reduce complexity, as the separation in different services with different programming languages has not added a lot of advantage.

See https://github.com/serlo/api.serlo.org/blob/staging/packages/server/src/model/database-layer.ts

hugotiburtino commented 1 month ago

Completed