Skip to content
Back

Looking for Guidance: GraphQL + Relational Backend for Next.js Project

  • 0
  • Databases
  • Web
  • Storage
Samar Hayat
7 Aug, 2025, 12:01

Hey everyone! πŸ‘‹ I'm building a project using Next.js and exploring different backend options. I want to set up a proper backend with GraphQL and support for two-way relational data (like foreign keys, joins between collections/tables, etc.).

Right now, I’m trying out Appwrite, but I’m not sure if it supports this type of setup β€” especially for:

Full GraphQL API support

Relational collections (e.g. Author ↔ Novels ↔ Chapters)

Efficient querying (e.g. getNovel β†’ include related author + chapters)

My Questions:

Is it possible to implement this with Appwrite alone?

If not, what would you recommend? (e.g. Appwrite + Hasura, Supabase, or custom GraphQL server?)

Any tips or resources on how to model this kind of structure?

Appreciate any guidance or best practices πŸ™Œ

Thanks in advance!

TL;DR
Developers building Next.js project seeking guidance on setting up GraphQL with two-way relational data. - Questioning if Appwrite supports full GraphQL API and efficient querying for relational collections like Author ↔ Novels ↔ Chapters. - Asking if it's feasible with Appwrite or if alternatives like Appwrite + Hasura, Supabase, or custom GraphQL server are better. - Seeking tips/resources on structuring this data setup efficiently.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more