Let's Checkout... WunderGraph
Вставка
- Опубліковано 9 вер 2024
- In this video we are going to checkout WunderGraph, the solution for combining all of your APIs into a single source and much more.
Let’s talk a bit about WunderGraph and what it is.
WunderGraph claims that it provides “The best developer experience for working with APIs”.
Now, I don’t want to call something I’ve been playing around with for a few days “THE BEST” in anything, but I’ve got to say that working with WunderGraph is pretty darn good, and overall a nice experience.
Now, what does WunderGraph do?
Well, to put it into most simple of terms, WunderGraph will connect to all of your APIs and become a central spot for getting and updating data from your APIs.
And I’m saying APIs here, but I should probably be using the term data sources.
Because WunderGraph has the ability to merge multiple data sources into a single source with which you can communicate to display, update or add data using GraphQL.
Now, those data sources can be Databases, GraphQL APIs or REST APIs. So WunderGraph will essentially become a middleware between your data and your application, which can be either a web applications or a mobile applications, and it will provide you with a single GraphQL API with which you will communicate.
And if you are building a React or Next.js application it will automatically generate hooks for you that will make displaying, adding and updating your data a breeze, as you will see in this video.
WunderGraph will also take care of Caching, Security, Permissions, Authentication and Realtime data for you.
Now since this is a “Let’s Checkout...” video I’m not going to go very deep into WunderGraph, because the point of these videos is for me to present technologies that I find interesting. And hopefully spark interest in them in you also. And then if you find it interesting you can take a deep dive yourselves.
Also please don’t ask me questions about WunderGraph and how to do something with it. I’m a noob at it just like you. If you wanna ask questions about WunderGraph you can join their Discord server or Subreddit, and ask it there.
In this video we are going to connect to our API from “Directus and Nextjs” series, using WunderGraph. And then using hooks that are generated for us we are going to get the data on the client side only, and then I’m going to show you how to get initial data on the server side. Also we are going to add some data to our API with provided hooks, and I’m going to show you how to display newly added data live once you add it.
You can support my work on Patreon
/ watchlearn
Follow me on Social Media
Github: github.com/iva...
Twitter: / ivan_doric
Instagram: / watchlearntuts
Facebook: / watchlearntutorials
Hi Ivan! I just wanted to say thank you for all you've done over the years. Your videos are really informative!
Thanks man. Glad I could help 😀
Hey Ivan, thank you for making this video! Really enjoyed it.
If there are any questions, happy to answer! =)
No problem, glad you like it 😀
Hi.. Thanks for this video, i need this.
I want to know, what IDE/text editor are you using and what extension? thanks again
I'm using PHPStorm. And not many plugins since it comes with most of the things I need out of the box.
hlw.. Would u pls make a tutorial on how to deploy directus on shared hosting...?
Nope. Directus should not be deployed on shared hosting since it's a node app. You could technically do it but it wouldn't work good. If you really wanna try you can checkout this video: ua-cam.com/video/ebWJbbUT4TA/v-deo.html there I deploy Strapi to shared hosting which is very similar to Directus, but I had problems even in the video, so my suggestion is to stay away from shared hosting for node apps. Better use Digital Ocean, AWS or similar.
@@WatchandLearnTutorials Thanks for ur reply..I did deploy in cpanel...having prblm with arogen2 ..after changing the version i finally deploy in cpanel❤
@@WatchandLearnTutorials It would be very helpful if u show how to add custom api endpoint and custom api hook completely in directus.
any directus updates :) ?
Add to cart for example :)
There will be episode about that 😀 that's all I can tell you.
@@WatchandLearnTutorials I am waiting ☺️