张 小龙

1636365001

How to Building a GraphQL Server with Golang and MongoDB

Building a GraphQL Server with Golang, MongoDB and live commentary. Learn to setup a simple GraphQL Server from scratch.

Links referenced throughout the video:

Source code: https://github.com/H-Richard/go-graphql 
howtographql: https://www.howtographql.com/graphql-go/1-getting-started/ 
mongodb driver: https://github.com/mongodb/mongo-go-driver 
gqlgen: https://github.com/99designs/gqlgen 

Subscribe: https://www.youtube.com/c/H-Richard/featured 

#go #golang #graphql 

What is GEEK

Buddha Community

How to Building a GraphQL Server with Golang and MongoDB

Query of MongoDB | MongoDB Command | MongoDB | Asp.Net Core Mvc

https://youtu.be/FwUobnB5pv8

#mongodb tutorial #mongodb tutorial for beginners #mongodb database #mongodb with c# #mongodb with asp.net core #mongodb

Install MongoDB Database | MongoDB | Asp.Net Core Mvc

#MongoDB
#Aspdotnetexplorer

https://youtu.be/cnwNWzcw3NM

#mongodb #mongodb database #mongodb with c# #mongodb with asp.net core #mongodb tutorial for beginners #mongodb tutorial

张 小龙

1636365001

How to Building a GraphQL Server with Golang and MongoDB

Building a GraphQL Server with Golang, MongoDB and live commentary. Learn to setup a simple GraphQL Server from scratch.

Links referenced throughout the video:

Source code: https://github.com/H-Richard/go-graphql 
howtographql: https://www.howtographql.com/graphql-go/1-getting-started/ 
mongodb driver: https://github.com/mongodb/mongo-go-driver 
gqlgen: https://github.com/99designs/gqlgen 

Subscribe: https://www.youtube.com/c/H-Richard/featured 

#go #golang #graphql 

Eleo Nona

Eleo Nona

1600219097

How to Build Apollo GraphQL Server From Scratch

What is GraphQL

GraphQL is a query language and a server-side runtime that is used to request data from the server. The first thing that comes to mind when hearing the term “query language” is SQL. Just as SQL is used for querying databases, GraphQL is a bit like SQL but for querying web APIs as it eliminates the need to repeatedly develop or change existing end-points. GraphQL also enables the client/front-end to retrieve exactly the data they have requested and no more. This means that, within a single request of GraphQL, you can traverse from the entry point to the related data (whereas in RESTful API you have to call multiple endpoints to fetch similar results).

The following example will help you to understand this better. Let us consider an object person which has the attributes name, age, email, and contactNumber. Suppose the front-end only needs the name and age of the person. If we design a REST API, the endpoint will look like api/persons, which will end up fetching all the fields for the person object. The issue arises here because there is no easy way to communicate that I am interested in some fields and not others (which causes REST API to over fetch the data).

#graphql #nodejs #apollo-server #graphql-apollo-server

Delbert  Ferry

Delbert Ferry

1622279628

React + GraphQL Tutorial — The Server

Setting up
We’re going to use Express in this tutorial, because that’s what most people are currently using, but you should be able to follow along even if you’re using hapi or Koa, because the GraphQL part of this tutorial is largely identical.

For starters, let’s clone the tutorial GitHub repo, which has a few resources we’ll need later. If you’ve already done that in Part 1, you can skip this step.

#graphql #react #server #graphql server