FullStack GraphQL React Tutorial - Learn Apollo Client / Apollo Server For Beginners

preview_player
Показать описание

In this tutorial, we'll build a full-stack application with React, Apollo Client, Apollo Server, and GraphQL. You'll learn how to create a simple CRUD app to manage users, fetch data by ID, and add new users. Perfect for developers looking to dive into modern web development with GraphQL!

Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

🌟 Gear / Hardware I Use and Recommend 🌟
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Tags:
- ReactJS Tutorial
- ReactJS
- GraphQL
- API Tutorial

TIMESTAMPS:
---------------------------
00:00 - Introduction to building a full stack application with GraphQL.
06:59 - Understanding GraphQL backend type definitions and resolvers.
09:08 - Define GraphQL types and resolvers for user data management.
13:37 - Defining required fields in GraphQL queries and mutations.
15:39 - Defining user types and resolvers for a GraphQL API.
19:44 - Implemented GraphQL queries and user creation mutation.
21:59 - Successfully running Apollo Server enables GraphQL queries testing.
26:16 - Setting up Apollo Client in a React application.
28:26 - Set up Apollo Client for GraphQL access in a React app.
32:38 - Manage data loading and error states in UI components.
34:57 - Learn to query specific data with GraphQL's flexibility.
39:21 - Managing loading states and displaying user data in React.
41:47 - Learn to define and use GraphQL mutations for user creation.
46:14 - Updating user details and handling input data types.
48:26 - Debugging user creation in Apollo Server and demonstrating data display.

#reactjs #graphql
Рекомендации по теме
Комментарии
Автор

Hey bro,
Just wanted to say a big thanks!
My very first GraphQL tutorial was from your channel — almost 5 years ago, I think.
Since then, I’ve worked on tons of projects and learned so much.

Now I’ve built 4 full setups, and honestly, the root of it all traces back to that first tutorial from you.
Appreciate you, man — thank you for all the help over the years!

kobbimensah
Автор

00:03 - Introduction to building a full stack application with GraphQL.
02:09 - Setting up a GraphQL server with Apollo and Node.js.
06:59 - Understanding GraphQL backend type definitions and resolvers.
09:08 - Define GraphQL types and resolvers for user data management.
13:37 - Defining required fields in GraphQL queries and mutations.
15:39 - Defining user types and resolvers for a GraphQL API.
19:44 - Implemented GraphQL queries and user creation mutation.
21:59 - Successfully running Apollo Server enables GraphQL queries testing.
26:16 - Setting up Apollo Client in a React application.
28:26 - Set up Apollo Client for GraphQL access in a React app.
32:38 - Manage data loading and error states in UI components.
34:57 - Learn to query specific data with GraphQL's flexibility.
39:21 - Managing loading states and displaying user data in React.
41:47 - Learn to define and use GraphQL mutations for user creation.
46:14 - Updating user details and handling input data types.
48:26 - Debugging user creation in Apollo Server and demonstrating data display.

ali-wznz
Автор

Thank you so much, bro. Just keep your coding style like this; don't worry about styling the UI; it's the best way, bro. Other videos, if they make CRUD operations, for example, or a To-Do List App, use too much styling. After that, I forget what the logic is, so I really like your coding style, bro. This is the best way for beginners like me. We just focus on the things you are doing, not styling, so thank you.

Salah-YT
Автор

Exceptionally clear and well-structured. Keep it up!

gunnarsaliev
Автор

Hi Pedro, thank you so so much for this tutorial. I am interning at a company where GraphQL is the tech being used and I was so screwed since there are absolutely no new tutorials on GraphQL and I was struggling. You gave a heastart!

Could you also make "Typescript & GraphQL" based tutorials on:
1. Domain Driven Design
2. Event Driven Architecutres
3. Microservices

and maybe a big project combining all the above said, it would be awesome!

amandacaecilia
Автор

If you don't have your query code syntax highlighted in the apollo client, you should install Apollo GraphQL extension.

xiaoguabushigua
Автор

Nice video! 👏 The issue at the end was because you forgot to return the newly created user after appending it to the users array in the createUser resolver.

AlexandreLucchesi
Автор

Great content. Clearly focused on the actual tech and no random logics added.

ketchupcoffee.
Автор

Love you bro, you've thought me a

anthonygesora
Автор

A person who clear all my queries @pedroTech🙂

jayasantosh
Автор

Can you make a video how to deploy our backend code like nodejs, MySQL and deploy full stack application online

I know to deploy react code - netlify/GitHub page/etc

Can you make a video on hosting the backend

gotam
Автор

NestJS simplifies GraphQl API development. According to my expertise, I find it really, really better, you can't do without it once you're in it, especially with its imposing architecture, you avoid writing sensible literals like in NodeJS, how do you see it?

USS-iw
Автор

can you also connect this to a database, let's say SQL or NOSQL is that possible and if so can you do like a part 2?

Alnz-bb
Автор

Hi Pedro, do you have react typescript and material ui tutorial?

TheRealHouji
Автор

Mutation is not returning because you forgot to write return user;

arijitdn
Автор

great stuff but please make a full fledged tutorial on remixjs full stack as i am trying to learn that and there is not much about it on youtube

sahalimran
Автор

Why use Apollo Client instead of React Query?

Anteater
Автор

Você é brasileiro né? Comprei seu curso de GraphQL pra dar uma moral, tem essa parte lá?

italofsan