Mô tả

We will learn what is GraphQL, what are pros and cons of using it. We will talk about the main concept in GraphQL like schemas, types, queries, mutations and subscriptions.

In the first section we will create plain Django project. This is introduction to Django framework and none previous knowledge is required.

Once the project will be setup we will add GraphQL. In that way you will be able to follow along with either your own Django project or simple project we have created together in the first section. I will explain how to create a root schema and how to create schemas for apps. Also we will implement new Django url to use graphiql: the UI to perform or queries and mutations. Once GraphQL is ready we will add Types, Queries and Mutations. I will show you different ways to write these and explain why we might use one option over another.

After we will have a solid understanding of the GraphQL and how it is connected with Django, we will dive deeper and add some extras like: Token Authentication (JWT), Relay implementations, Filters, Pagination etc.

We will finish the course with the samples how to use our backend GraphQL API with front end applications based on both React and Angular. We will have 2 separate application that will fetch data from our Django Database using our graphql API. We will use apollo library on the front end.

Bạn sẽ học được gì

Basics of Django Framework

Basics of GraphQL

How to build GraphQL API with Django

Yêu cầu

  • Basic knowledge of python

Nội dung khoá học

6 sections

Introduction

3 lectures
Introduction
03:42
Technology overview
02:49
What is GraphQL
09:25

Preparing Django project

5 lectures
Creating Project
11:06
Files overview
06:19
Django admin
05:30
First model
10:08
More models
08:37

GraphQL

11 lectures
Adding GraphQL
09:36
Schema for app
08:24
Graphiql
07:19
Query params
06:50
Custom query fields
03:59
Multiple models
04:59
Aliases and fragments
04:19
Names, variables and directives
09:06
First mutation
11:29
Update mutation
07:08
Delete mutation
04:47

Extras

8 lectures
JWT authentication
07:47
User in context
07:50
Authorization
08:03
Relay implementation
07:48
Filters
07:09
Relay mutation
08:13
Pagination
09:04
Introspection Schema
05:45

Front-End integration

4 lectures
React - apollo client
07:23
React - query data
11:34
Angular - apollo client
04:28
Angular - query data
10:23

Finish

1 lectures
Bonus
01:27

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.