Basics of GraphQL with Ruby on Rails
4.4 (145 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
571 students enrolled

Basics of GraphQL with Ruby on Rails

Learn to use GraphQL in a Rails app to talk to your front-end clients.
4.4 (145 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
571 students enrolled
Created by Alex Deva
Last updated 7/2018
English
English [Auto]
Current price: $23.99 Original price: $34.99 Discount: 31% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 1.5 hours on-demand video
  • 4 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Use GraphQL to communicate between back-end and front-end, including authentication.
Course content
Expand all 32 lectures 01:26:19
+ Reading Data
11 lectures 32:00
JSON
01:37
Introduction to queries
02:22
Query arguments
02:05
Query context
02:10
ActiveRecord queries
06:40
Scalar field types
02:15
Compulsory field types
01:43
User defined (ActiveRecord) types
04:01
Custom field types
04:31
Arrays
03:15
Create an app that will serve as back-end for a blog.
Start the back-end of a blog app
1 question
+ Changing Data
7 lectures 19:06
Creating records
05:13
Query variables
01:39
Input types
03:51
Updating records
02:17
Deleting records
00:56
Handling validation errors
03:15
Expand the previous homework by adding the capability to change stuff.
Continue the blog back-end by adding create, update and delete capabilities
1 question
+ Authentication, Authorisation, and Access Control
7 lectures 17:16
How authentication and authorisation work
01:38
Login (authentication)
04:26
Authorisation
03:17
Logout
01:24
Access control
00:48
Visibility, Accessibility, Authorisation
04:13
Expand the previous homework by adding authentication, authorisation and access control to it.
Add AAA to the blog app
1 question
Requirements
  • You should have already created at least one Ruby on Rails application.
  • You should have some familiarity with what API applications are.
Description

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; in the second, about changing data; and the slightly more advanced third section is about protecting data.

Who this course is for:
  • Back-end developers in Ruby on Rails who are looking for a better way to talk to front-ends.