Hi, welcome everyone. So this is Roy at GraphQL Galaxy with Let's Talk GraphQL with your services. So what does this talk about? So during today, I will present you some use cases for GraphQL also with existing services. So let's have a look at legacy codes. It might look like this, right? Or is this actually PASTA? I'm not sure if you know, but what was the last time you tried talking with PASTA? For me it was never. So let's assume we're going to be looking at existing services as legacy code.
So a little bit about myself. So my name is Roy. You can find me on Twitter with Github team. Currently, I work for a renewable energy company called Vanderbrand, previously I worked for a lot of different companies, including the city of Amsterdam, most lately, where we created open source projects for the city. And also, you can find me online on YouTube either with conference videos from previous times or some of my books about React or React Native. And in the topic of today, my most current book about Fullstack GraphQL. So this is a book about how you can build GraphQL servers and clients with React, Node.js and TypeScript. So if you have any questions afterwards, make sure to get it.
So for today, we're going to be looking at how you can talk GraphQL with existing services. So suppose you start working on this great project, you would just get hired at a new job, or maybe a new project starts at your current company. And this one is called the e-commerce platform of the future. Probably you've been approached by recruiters that had something similar like this, like hey, we're going to build the e-commerce platform of the future, we want you to be part of it. Well, let's assume you fell into this trick and you started working at a company that is going to build this platform. So this might be the stack, right? So we have, on the left, you can see an example UI and on the right, you can see technologies. So it's using JavaScript and React, which all seems fine. And then it's using a REST API with a database and a database as a back-end. So, maybe after seeing this, you're thinking it's an e-commerce platform, but it might not be the e-commerce platform of the future. If you think by now, that's okay. If you think it's still the e-commerce platform of the future, that's also okay, because we might be able to find another way to use this platform and make it future-proof. Or you might also think the REST API and the database together are like the pretty bowl of spaghetti we saw before, which is the legacy code that we're going to be interacting with. So still, we have some legacy code back end, we have JavaScript and React, and we somehow want to connect all this together with GraphQL, because if it's using REST, it's going to lead to several problems, right? Because this might be the REST API, you have three different requests, or maybe even more, and all these requests will be called by your UI. So every single bits and pieces of our UI is using a separate REST API call, which in the end is going to be troublesome for people that are using mobile internet. And these often are directly correlated to a database. So we have a REST API and we have database, and those are closely linked together.
Comments