Unleash the Power of GraphQL in Spring Boot: A Beginner's Journey
ฝัง
- เผยแพร่เมื่อ 4 ส.ค. 2024
- Are you ready to dive into the world of GraphQL and Spring Boot? Join me in introduction to GraphQL, where I'll walk you through the fundamentals and show you how to integrate it seamlessly with Spring Boot.
In this video, you'll learn:
- What GraphQL is and how it differs from RESTful APIs
- Setting up a Spring Boot project for GraphQL
- Defining GraphQL schema and types
- Creating GraphQL queries and mutations
- How to perform data fetching efficiently with GraphQL
👉👉Grab the source (on github): t.ly/aXlvm
🔗Grab My Other Products Available:
- Packaging a JavaScript Frontend in Java Spring Boot: t.ly/gaKyT
- Build Your First Web Service with Java Spring Boot: t.ly/iv_84
👋🏻Connect with me:
Twitter: / eyuzwa
🔗Links & References:
- Docker Desktop Client: www.docker.com/
- Start Spring IO: start.spring.io/
===---=== Chapters ===---===
0:00:00 - Introduction
0:01:00 - What is GraphQL?
0:04:33 - Outlining our Goals
0:05:05 - Start.spring.io
0:06:29 - Setting up .env and Docker
0:11:57 - Updating application.properties
0:12:45 - Models and Repositories
0:18:34 - Setting up the GraphQL Schema
0:19:58 - Query Type
0:23:15 - Setting up the Articles Controller
0:24:10 - @QueryMapping
0:25:12 - Setting up some Seed Data
0:26:58 - Enable GraphiQL
0:27:39 - GraphiQL in your browser
0:30:34 - Setting up Query for authors
0:31:35 - Setting up the Authors Controller
0:34:06 - Mutation Type
0:35:26 - @Argument
0:35:57 - @MutationMapping
0:36:15 - First pass of createArticle
0:38:43 - Setting up addArticle Mutation
0:40:24 - Updating the Articles Controller
0:43:25 - Adding an Update and Delete Mutation
0:48:85 - Wrapping Up
#graphql #springboot #java - วิทยาศาสตร์และเทคโนโลยี
Put together an introduction to using GraphQL with Spring Boot. Had a lot of fun doing this, and hopefully it helped you discover how to start creating your own ideas with GraphQL!
Best graphql tutorial so far! Hope next will be how to create custom error handling in graphql
Thanks! Yeah that's a great idea
You're awesome Wazoo! Thanks for sharing your knowledge with us! 🙏❤
Can you please make some Spring & Angular videos?
thanks so much! Yes that's a great idea -- been neglecting Angular :)
Great stuff, thank you!
Thanks very much for stopping by and for leaving a comment. I'm happy to hear that you found this helpful!
way to go man. great work!
thanks so much!
great as always
thank you so much!
Great stuff, thank you!
thanks so much - I appreciate it