Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
GraphQL - Beginner's course
Rating: 3.8 out of 5(45 ratings)
3,794 students

GraphQL - Beginner's course

Good start for understanding GraphQL
Created byDemian Kostelny
Last updated 5/2022
English

What you'll learn

  • Learn basics of the GraphQL
  • Learn how to connect GraphQL to MongoDB
  • Learn how to use mongoose library
  • Understand basic concepts of the GraphQL

Course content

1 section7 lectures1h 20m total length
  • Introduction4:07
  • Start server and connect to the MongoDB12:19

    Install and configure express, mongoose, and the GraphQL library, create an express app with a home route, and connect to MongoDB via mongoose using a connection string.

  • Building schema and build the first query18:25
  • About data types in GraphQL0:17
  • Create relations between object types18:04
  • Create first mutation7:29

    Create your first GraphQL mutation to push data into an array, define fields and arguments, implement a resolve function, and verify the result in the browser.

  • Building MongoDB models19:30

Requirements

  • You need to know how to code with Node and JavaScript

Description

Hi and welcome to the full beginner's course where you can learn how to use GraphQL for making a nice API. Why GraphQL? For now, it's one of the coolest data models that developers use to work with app databases. And I want also to say that in practice GraphQL is more useful that RESTful API. The reason for that - is that when you build requests for GraphQL you type all fields that you want to get in requests and also you make requests only to the one entry point. If you want to learn more about how it works - I recommend checking my course?

So what are we gonna learn in this course? Here are some main these of the course:

  • How to build GraphQL requests

  • How to save data in the database by using GraphQL

  • How to work with MongoDB and GraphQL

  • Build a js-app that will make all requests to the GraphQL server

That's not all that are we gonna do in this course? Cause we also gonna write a small, but a nice app that will work with our MongoDB cluster. And also I want to add that many developers use GraphQL for their own js-app - the reason is simple, it's not hard to set up GraphQL on the server.

Who this course is for:

  • For everybody who wants to learn GraphQL
  • For beginners in Node js back-end development