Basics of GraphQL with Ruby on Rails

Course

Online

£ 10 + VAT

Description

  • Type

    Course

  • Methodology

    Online

  • Start date

    Different dates available

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 is the target audience?Back-end developers in Ruby on Rails who are looking for a better way to talk to front-ends

Facilities

Location

Start date

Online

Start date

Different dates availableEnrolment now open

About this course

How to add GraphQL to a Rail app so that it can talk to any Front-End
Enable GraphQL in a Rail app
Use GraphiQL, a query simulator
Ask for data using GraphQL Queries
Change data using mutations
Protect data using authorisation

Questions & Answers

Add your question

Our advisors and other users will be able to reply to you

Who would you like to address this question to?

Fill in your details to get a reply

We will only publish your name and question

Emagister S.L. (data controller) will process your data to carry out promotional activities (via email and/or phone), publish reviews, or manage incidents. You can learn about your rights and manage your preferences in the privacy policy.

Reviews

This centre's achievements

2021

All courses are up to date

The average rating is higher than 3.7

More than 50 reviews in the last 12 months

This centre has featured on Emagister for 6 years

Course programme

Introduction 6 lectures 13:28 Introduction What is GraphQL? GraphQL versus REST Requirements GraphiQL The default query Introduction 6 lectures 13:28 Introduction What is GraphQL? GraphQL versus REST Requirements GraphiQL The default query Introduction Introduction Introduction Introduction What is GraphQL? What is GraphQL? What is GraphQL? What is GraphQL? GraphQL versus REST GraphQL versus REST GraphQL versus REST GraphQL versus REST Requirements Requirements Requirements Requirements GraphiQL GraphiQL GraphiQL GraphiQL The default query The default query The default query The default query Reading data 12 lectures 33:17 What we'll do JSON Introduction to queries Query arguments Query context ActiveRecord queries Scalar field types Compulsory field types User defined (ActiveRecord) types Custom field types Arrays Assignment 1 Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. Reading data 12 lectures 33:17 What we'll do JSON Introduction to queries Query arguments Query context ActiveRecord queries Scalar field types Compulsory field types User defined (ActiveRecord) types Custom field types Arrays Assignment 1 Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. What we'll do What we'll do What we'll do What we'll do JSON JSON JSON JSON Introduction to queries Introduction to queries Introduction to queries Introduction to queries Query arguments Query arguments Query arguments Query arguments Query context Query context Query context Query context ActiveRecord queries ActiveRecord queries ActiveRecord queries ActiveRecord queries Scalar field types Scalar field types Scalar field types Scalar field types Compulsory field types Compulsory field types Compulsory field types Compulsory field types User defined (ActiveRecord) types User defined (ActiveRecord) types User defined (ActiveRecord) types User defined (ActiveRecord) types Custom field types Custom field types Custom field types Custom field types Arrays Arrays Arrays Arrays Assignment 1 Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. Assignment 1 Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. Assignment 1 Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. Assignment 1 Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. Start the backend of a blog app.
  • Create an app with User (first name, last name, street, number, city, postcode, country), Post (user_id, body) and Comment (user_id, body)
  • Create queries for each
  • Add fields in User to include all Posts, and in Post to include all Comments
  • User should have a custom field to return the full address and the full name.
Solution attached. Changing data 8 lectures 19:47 3. What we'll do Creating records Query variables Input types Updating records Deleting records Handling validation errors Assignment 2
  • Create CRUD operations for User, Post and Comment. Use InputTypes and vars.
  • Add at least one validation rule to the models and check for errors
Solution attached. Changing data. 8 lectures 19:47 3. What we'll do Creating records Query variables Input types Updating records Deleting records Handling validation errors Assignment 2
  • Create CRUD operations for User, Post and Comment. Use InputTypes and vars.
  • Add at least one validation rule to the models and check for errors
Solution attached. 3. What we'll do 3. What we'll do 3. What we'll do 3

Additional information

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

Basics of GraphQL with Ruby on Rails

£ 10 + VAT