Our great sponsors
-
nodejs-api-starter
Discontinued 💥 Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI. [Moved to: https://github.com/kriasoft/relay-starter-kit]
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Now we've been talking quite a bit about relations in the database and ORMs. In fact, it would be terribly inefficient to just grab relations all the time from the database even if the user hasn't requested the relationship in the first place. So that's why I made graphql-utils, a library that's designed to make it easy to introspect the GraphQL query made, and then make conscious decisions on whether you should or shouldn't JOIN certain relations. I also have some examples on how to use it on the GitHub repo, so I urge you to check it out once you are ready to optimize the API!
Yes, for example: