GraphQL
This article is a stub. You can help the IndieWeb wiki by expanding it.
GraphQL is a query language for APIs and a runtime for fulfilling those queries with existing data. In terms of the IndieWeb it could be used to retrieve your posts from your site database or other backend.
IndieWeb Examples
- Together Server is a GraphQL server that acts as a bridge Micropub and Microsub.
Brainstorming
- Create a web service which allows any website marked up with MF2 to be queried using GraphQL. For inspiration, see CoolQLCool
See Also
- https://graphql.org/
- Criticism: https://twitter.com/mitsuhiko/status/1552694954190950406
- "I think GraphQL is quickly moving to one of my least favorite technologies. Building an efficient query system for the server is almost writing a database and as a user it has a lot of rough edges. Good idea but man is it complex." @mitsuhiko July 28, 2022
- Humor/criticism: https://twitter.com/ryanlanciaux/status/1550177376553897984
- "Using GraphQL, TypeScript, state machines, and a full-on component library for a hello world app.
https://t.co/gUUT1JV9rs" @ryanlanciaux July 21, 2022
- "Using GraphQL, TypeScript, state machines, and a full-on component library for a hello world app.
- 2024-05-24 : Why, after 6 years, Iβm over GraphQL (archived), a collection of multiple criticisms of GraphQL.
[β¦] I have had the opportunity to deploy to environments where non functional requirements like security, performance, and maintainability were more of a concern, my perspective has changed. In this article I would like to take you through why today, I would not recommend GraphQL to most people, and what I think are better alternatives.