Adding content to 101-graphql-over-websockets

content/graphql
syedmouaazfarrukh 2 years ago
parent b074e64854
commit 463e047849
  1. 8
      src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/100-real-time.md
  2. 15
      src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/101-authorization.md
  3. 8
      src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/index.md

@ -1 +1,7 @@
# Real time # Real Time
Real-time in GraphQL refers to the ability to receive real-time updates from a GraphQL server. This allows clients to receive updates from the server as soon as they occur, rather than having to periodically poll the server for new data.
Learn more from the following links:
- [Get Started with Real Time with GraphQL](https://the-guild.dev/blog/subscriptions-and-live-queries-real-time-with-graphql)

@ -1 +1,14 @@
# Authorization # Authorization
Authorization in GraphQL refers to the process of controlling access to specific fields, types, or operations in a GraphQL schema based on user roles or permissions. It allows you to restrict access to certain data or functionality in your application based on the user's role or permissions.
There are several ways to implement authorization in GraphQL:
- Using middleware
- Using schema directives
- Using a data source layer
To learn more, visit the following links:
- [Get Started with Authorization](https://graphql.org/learn/authorization/)
- [Authorization with GraphQL Shield](https://www.youtube.com/watch?v=DvjRCnrYFcg)

@ -1 +1,7 @@
# Graphql over websockets # GraphQL Over Websockets
The WebSocket API is an advanced technology that makes it possible to open a two-way interactive communication session between the user's browser and a server. With this API, you can send messages to a server and receive event-driven responses without having to poll the server for a reply.
Learn more from the following links:
- [GraphQL over WebSockets](https://the-guild.dev/blog/graphql-over-websockets)
Loading…
Cancel
Save