Questions tagged [graphql]

Use this tag for questions involving code that is consuming a GraphQL API. Note that a GraphQL schema isn't reviewable on its own.

Filter by
Sorted by
Tagged with
1
vote
0answers
12 views

Secure GraphQL API with REST auth layer

I have created a REST auth layer in front of my GraphQL API, I would like to know if it is secure enough or if I can improve anything, I will be adding more auth providers, in the end this API will ...
1
vote
0answers
49 views

Secure auth with Node.js, GraphQL, Nexus and passport with JWT's

I am trying to authenticate / authorise users with graphql, nexus, passport, prisma, graphql-shield and fastify for REST with JWT To answer possible questions: I am using passport because it handles ...
2
votes
1answer
49 views

Peer to Peer GraphQL with Relay over WebSocket

Here is my Relay Network: ...
1
vote
0answers
21 views

Using two handlers for a GraphQL project; handle query with the second one if the first one is not capable of

I'm trying to use both SuperGraph as-a-library and GqlGen. So I have two handlers: the first one is SuperGraph; this checks that it can carry out the operation the second one is GqlGen; this checks ...
1
vote
0answers
20 views

Creating two different posts types on my Gatsby site - rewriting my gatsby-node.js

I need to identify the different markdown files I have so I can create a unique url structure for them. I can already identify "notes" files, and want to create a second type called "...
2
votes
0answers
220 views

GraphQL Schema for a Social Network [closed]

I am learning about GraphQL so I decided to make a schema for some sort of social network. Please let me know if there are any best practices I should follow based on my schema below. ...