sylv / micro

A vanity image host with url shortening, 2fa, videos, and much more.
https://micro.sylo.digital
GNU Affero General Public License v3.0
43 stars 4 forks source link

Switch to GraphQL #17

Closed sylv closed 2 years ago

sylv commented 2 years ago

The current API is scuffed and unnecessary. GraphQL is slightly more fun and a lot better for client-side type info. The only downside with GraphQL is code duplication because prisma doesn't use classes for defining tables, but if we're ditching prisma that doesn't matter.

Should probably do it after #16

sylv commented 2 years ago

GraphQL is just awful.