Mô tả

Content updated in 2022 to reflect latest versions of Ruby, Rails and GraphQL!

This course teaches the basics of using GraphQL in a Rails application. GraphQL is a query language invented by Facebook in 2012, and made open source in 2015. While it has certain clear advantages over REST, it also has a somewhat steeper learning curve.

Structured in a simple and accessible manner, these lectures will help you get on your way to using GraphQL to circulate data between back-end and front-end applications.

In the first section we will learn about reading data. The second section will be focused on changing data, and the slightly more advanced third section is about protecting data, using techniques both implemented in the GraphQL library or suggested by myself.

GraphQL has a number of features that make it an advantageous change for REST adopters, like the ability to only get what you ask for, or having instant API documentation available after every change. After completing this course, you'll be in a position to implement GraphQL in a new or existing Rails application with basic features all the way up to authorisation and access control. This should definitely get you started on your way!

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

Use GraphQL to communicate between back-end and front-end, including authentication.

Yêu cầu

  • You should have already created at least one Ruby on Rails application.
  • You should have some familiarity with what API applications are.

Nội dung khoá học

5 sections

Introduction

6 lectures
Introduction
01:36
What is GraphQL?
02:19
GraphQL versus REST
02:14
Getting Started
03:46
GraphiQL
02:17
The Default Query
04:02

Reading Data

12 lectures
What we'll do
01:21
JSON
01:37
Introduction to queries
03:18
Query arguments
02:13
Query context
02:42
ActiveRecord queries
07:06
Scalar field types
03:01
Nullability
01:43
ActiveRecord fields
02:54
Custom types
03:03
Arrays
03:33
Start the back-end of a blog app
1 question

Changing Data

8 lectures
What we'll do
01:00
Creating records
05:44
Query variables
01:41
Input types
03:09
Updating records
02:51
Deleting records
01:04
Handling validation errors
03:00
Continue the blog back-end by adding create, update and delete capabilities
1 question

Authentication, Authorisation, and Access Control

7 lectures
What we'll do
01:30
How authentication and authorisation work
01:38
Login (authentication)
04:39
Authorisation
03:54
Logout
01:50
Access control
00:46
Visibility and Authorisation
03:31

Conclusion

1 lectures
Conclusion
01:54

Đá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.