diff --git a/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/100-real-time.md b/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/100-real-time.md index 1262176a4..a526d4285 100644 --- a/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/100-real-time.md +++ b/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/100-real-time.md @@ -1 +1,7 @@ -# Real time \ No newline at end of file +# 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) \ No newline at end of file diff --git a/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/101-authorization.md b/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/101-authorization.md index 02b25f227..48efc8c52 100644 --- a/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/101-authorization.md +++ b/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/101-authorization.md @@ -1 +1,14 @@ -# Authorization \ No newline at end of file +# 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) \ No newline at end of file diff --git a/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/index.md b/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/index.md index b3a413b86..c95f97bf4 100644 --- a/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/index.md +++ b/src/roadmaps/graphql/content/106-serving-over-internet/101-graphql-over-websockets/index.md @@ -1 +1,7 @@ -# Graphql over websockets \ No newline at end of file +# 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) \ No newline at end of file