From 9ac1c1c8cbfd184f56a63e81b345991d5e5c13b1 Mon Sep 17 00:00:00 2001 From: syedmouaazfarrukh Date: Fri, 20 Jan 2023 10:53:07 -0800 Subject: [PATCH] Adding content to 109-backend-implementations --- .../100-graphql-http.md | 14 +++++++++++++- .../101-graphql-yoga.md | 11 ++++++++++- .../102-apollo-server.md | 10 +++++++++- .../109-backend-implementations/103-mercurius.md | 11 ++++++++++- .../content/109-backend-implementations/index.md | 14 +++++++++++++- 5 files changed, 55 insertions(+), 5 deletions(-) diff --git a/src/roadmaps/graphql/content/109-backend-implementations/100-graphql-http.md b/src/roadmaps/graphql/content/109-backend-implementations/100-graphql-http.md index 1edaa4a53..366a905b5 100644 --- a/src/roadmaps/graphql/content/109-backend-implementations/100-graphql-http.md +++ b/src/roadmaps/graphql/content/109-backend-implementations/100-graphql-http.md @@ -1 +1,13 @@ -# Graphql http \ No newline at end of file +# GraphQL HTTP + +GraphQL HTTP is a specification for serving GraphQL over HTTP. It defines a standard way of sending GraphQL queries and mutations over the HTTP protocol, and it is widely supported by GraphQL servers and clients. + +The GraphQL HTTP specification defines two main HTTP methods: + +- **POST:** Used to send queries and mutations to the server. The query or mutation is sent in the request body as a JSON payload, and the server returns the result in the response body. +- **GET:** Used to send queries to the server, but it's not recommended to use GET for queries because it's not as efficient as POST method. + +Learn more from the following links: + +- [Overview of GraphQL HTTP](https://graphql.org/graphql-js/express-graphql/#graphqlhttp) +- [Get Started with GraphQL HTTP](https://graphql.org/learn/serving-over-http/) \ No newline at end of file diff --git a/src/roadmaps/graphql/content/109-backend-implementations/101-graphql-yoga.md b/src/roadmaps/graphql/content/109-backend-implementations/101-graphql-yoga.md index 5701df9be..4da316a9f 100644 --- a/src/roadmaps/graphql/content/109-backend-implementations/101-graphql-yoga.md +++ b/src/roadmaps/graphql/content/109-backend-implementations/101-graphql-yoga.md @@ -1 +1,10 @@ -# Graphql yoga \ No newline at end of file +# GraphQL Yoga + +GraphQL Yoga is a popular open-source GraphQL server library for Node.js. It is built on top of the popular Express.js web framework and provides a simple and flexible way to build GraphQL servers with minimal boilerplate code. + +One of the key features of GraphQL Yoga is that it provides a set of built-in functionality that makes it easy to handle common tasks such as authentication, authorization, and data validation. It also provides support for subscriptions, which allow clients to receive real-time updates from the server. + +Learn more from the following links: + +- [Tutorial - GraphQL Yoga](https://www.youtube.com/watch?v=_-B6QIFSSwo) +- [Examples of GraphQL Yoga](https://codesandbox.io/examples/package/graphql-yoga) \ No newline at end of file diff --git a/src/roadmaps/graphql/content/109-backend-implementations/102-apollo-server.md b/src/roadmaps/graphql/content/109-backend-implementations/102-apollo-server.md index 752088142..e47ddef94 100644 --- a/src/roadmaps/graphql/content/109-backend-implementations/102-apollo-server.md +++ b/src/roadmaps/graphql/content/109-backend-implementations/102-apollo-server.md @@ -1 +1,9 @@ -# Apollo server \ No newline at end of file +# Apollo Server + +Apollo Server is a popular open-source library for building GraphQL servers in JavaScript. It provides a simple and flexible way to build GraphQL servers by providing a set of tools and features for handling common tasks such as parsing and validating queries, executing resolvers, and formatting responses. + +One of the key features of Apollo Server is that it provides a set of built-in functionality that makes it easy to handle common tasks such as authentication, authorization, and data validation. It also provides support for subscriptions, which allow clients to receive real-time updates from the server. + +Learn more from the following links: + +- [Apollo Tutorial - Introduction](https://www.howtographql.com/react-apollo/0-introduction/) \ No newline at end of file diff --git a/src/roadmaps/graphql/content/109-backend-implementations/103-mercurius.md b/src/roadmaps/graphql/content/109-backend-implementations/103-mercurius.md index 27888829f..2f0932de1 100644 --- a/src/roadmaps/graphql/content/109-backend-implementations/103-mercurius.md +++ b/src/roadmaps/graphql/content/109-backend-implementations/103-mercurius.md @@ -1 +1,10 @@ -# Mercurius \ No newline at end of file +# Mercurius + +Mercurius is an open-source library for building real-time GraphQL servers in Node.js. It provides a simple and flexible way to build GraphQL servers by providing a set of tools and features for handling real-time subscriptions. + +One of the key features of Mercurius is that it is built on top of the popular WebSockets protocol and it allows the client to subscribe to real-time updates from the server. It also supports batching and caching of queries and mutations, which allows for efficient and fast data transfer between the client and server. + +Learn more from the following links: + +- [What Is Mercurious? - GraphQL Server](https://www.youtube.com/watch?v=9nd11l7KpFI) +- [Documentations of Mercurius](https://mercurius.dev/#/) \ No newline at end of file diff --git a/src/roadmaps/graphql/content/109-backend-implementations/index.md b/src/roadmaps/graphql/content/109-backend-implementations/index.md index b858fa06c..9769a31c6 100644 --- a/src/roadmaps/graphql/content/109-backend-implementations/index.md +++ b/src/roadmaps/graphql/content/109-backend-implementations/index.md @@ -1 +1,13 @@ -# Backend implementations \ No newline at end of file +# Backend Implementations + +There are several ways to implement a GraphQL backend, depending on the use case, the technology stack, and the complexity of the application. The most common ways to implement a GraphQL backend are: + +- Building a custom GraphQL server +- Using a GraphQL backend-as-a-service +- Wrapping a REST API with a GraphQL layer +- Using a microservices architecture + +Learn more from the following links: + +- [How to use GraphQL to build Backend-For-Frontends](https://blog.bitsrc.io/how-to-use-graphql-to-build-backend-for-frontends-bffs-4b7e5a0105d0) +- [Creating A GraphQL Backend](https://www.youtube.com/watch?v=6duKEokTZ44) \ No newline at end of file