GraphQL

GraphQL subscription active
You will receive email notifications for new publications on GraphQL.
15 Results
  • Tutorial

    Understanding Queries in GraphQL

    In this tutorial, we'll take an in-depth look at queries in GraphQL so that you better understand how to retrieve data from a GraphQL server. We will cover fields, arguments, aliases, operation syntax, and more. Once ...
    By Peter Ekene API GraphQL
  • Tutorial

    How To Build a GraphQL API with Prisma and Deploy to DigitalOcean's App Platform

    In this tutorial, you'll build a GraphQL API for a blogging application in JavaScript using Node.js. You will first use Apollo Server to build the GraphQL API backed by in-memory data structures. You will then deploy ...
    By Daniel Norman DigitalOcean App Platform API GraphQL Development Node.js Git
  • Tutorial

    How To Set Up a Ruby on Rails GraphQL API

    In this tutorial, you will build a GraphQL-powered Ruby on Rails API for taking notes. When you are finished, you will be able to create and view notes from the API using GraphQL.
    By Chuks Opia Ruby on Rails Ruby GraphQL PostgreSQL API
  • Tutorial

    A GraphQL SDL Reference

    Here's a quick and dirty reference for the GraphQL Schema Definition Language (SDL), which gives us a succinct syntax to define your GraphQL schemas.
    By Alligator.io GraphQL
  • Tutorial

    Introduction to Apollo Boost

    Run queries and mutation with your GraphQL backend from the client side using Apollo Boost. Here I show you how it can be done with vanilla JavaScript.
    By Joshua Hall GraphQL
  • Tutorial

    Schemas and Resolvers in GraphQL

    Learn how to set up a basic GraphQL API with schemas and resolvers using graphql-yoga and nodemon.
    By Joshua Hall GraphQL
  • Tutorial

    Mutations and Subscriptions in GraphQL

    Learn how to set up an advanced GraphQL APIs with Mutations and Subscriptions using the graphql-yoga Node.js library.
    By Joshua Hall GraphQL
  • Tutorial

    Exploring Directives in Prisma

    Learn to use Prisma directives to modify and enhance your GraphQL schemas.
    By Joshua Hall GraphQL
  • Tutorial

    Introspection Queries With GraphQL

    GraphQL being a typed query language, you can query the server for the different fields and types.
    By Alligator.io GraphQL
  • Question

    WebSocket connection to 'wss://api-such.andsuch.xyz/graphql/' failed: Error during WebSocket handshake: Unexpected response code: 400

    Hello everyone! I recently deployed a project I'm working on to production. I use DjangoChannelsGraphqlWs (https://github.com/datadvance/DjangoChannelsGraphqlWs) for GraphQL subscription functionalities. and I have Gr...
    Accepted Answer: After going through lots of articles, I discovered this one (https://testdriven.io/blog/dockerizing-django-with-postgres-gunicorn-and-nginx/), and this section (https://testdriven.io/blog/dockerizing-django-with-postg...
    3 By Cimmanuel Python Django Docker Nginx GraphQL
  • Question

    Next.JS Deployment to Nginx Droplet

    I'm currently attempting to deploy my Next.js SSG application to the same droplet that my backend graphql api is hosted on. The api sits at /graphql while the app sits at /app but when I navigate to /app I get a loadi...
    Accepted Answer: Solved the problem it turns out that I hadn't properly set up the express server to operate on the correct root it was / and it should've been replaced with /api
    2 By milorue Nginx React GraphQL
  • Question

    Is it possible to still use Graphcool?

    I was following this tutorial about building a chat app with GraphQL, React, and Graphcool: https://www.digitalocean.com/community/tutorials/how-to-build-a-realtime-chat-app-with-react-and-graphql, and stumbled upon s...
    Accepted Answer: Hi there @jyoo99, As this has been officially stated on their website as well (https://www.graph.cool/sunset-notice), I would not really recommend using it in this case. I would recommend using an alternative solution...
    1 By jyoo99 GraphQL
  • Question

    NodeJS on an app throws upstream connect error or disconnect/reset before headers. reset reason: connection termination","status":503

    Hello guys I am having a GraphQL server built with nodejs deployed on an application (Not a droplet). I see the server logs this error regularly. GraphQL Error (Code: 503): {"response":{"error":"upstream connect erro...
    1 By ahmedtarekAxolotl Node.js GraphQL
  • Question

    Build Fails when trying to get system ENV Variables

    I'm attempting to use the App platform to deploy a GraphQL API made with Apollo Server as a web service. When Adding in System ENV vars, I get this error message: Error: getaddrinfo ENOTFOUND https://osdm-api-r44fl.o...
    1 By MuddyBootsCode GraphQL Node.js DigitalOcean App Platform
  • Question

    How do I manually calculate average session duration?

    Hallo guys, can anyone help me tell the exact formula of the average session duration where to get from? I'm having trouble finding a manual calculation of the average session duration For example, from the google ana...
    1 By rifulabyssal Data Analysis DigitalOcean Articles Big Data GraphQL