Every trend-following developer has heard of microservices and GraphQL. Even though new technologies are often discussed, only a minor share of developers decide to use them. The main reason is often found in immaturity of technologies and in untrivial migration, which is often more time-consuming than starting from scratch. In the context of the thesis the GraphQL technology was explored in detail and was placed in the world of microservices. It was compared to REST as its main alternative and the potential use cases were displayed. GraphQL was found to be the most suitable for complex applications with highly related data, while REST was found to be the most suitable for simple applications. Nevertheless, GraphQL is still not ready to be widely used in microservices due to the lack of software support. Therefore, we developed a tool to simplify the development of GraphQL microservices and presented its usage on an example. With that, we were able to show the usefulness of our tool on a real-life project.
|