Creating a GraphQL API with Rails

preview_player
Показать описание
In this video I walk you throught my process of setting up a barebones GraphQL API using the Ruby on Rails framework. Bare in mind this was an experimental video and I am also a beginner Ruby developer. I hope the information on this video can be useful to someone.

0:00 Introduction
1:05 Setting up Rails app
2:15 Creating first models
3:35 Setting up the database
4:05 Seeding the db with the help of Github Copilot
6:45 Setup relationships between models
7:45 Setup graphql gem
9:45 Setup graphiql-rails gem
11:23 Enabling sessions for the rails API
12:12 Setting up assets bundler
13:56 Testing graphiql
15:06 Adding the first query type
16:07 Creating object types for our models
17:30 Querying real data
18:37 Querying relationships
19:30 Final thoughts
Рекомендации по теме
Комментарии
Автор

Thank you for the tutorial.This was a great tutorial

rileymanda
join shbcf.ru