{"id":7121,"date":"2023-06-15T12:54:04","date_gmt":"2023-06-15T10:54:04","guid":{"rendered":"http:\/\/blog.bart.sk\/en\/?p=7121"},"modified":"2024-01-25T13:58:39","modified_gmt":"2024-01-25T12:58:39","slug":"graphql-workshop-functional-application-created","status":"publish","type":"post","link":"https:\/\/blog.bart.sk\/en\/graphql-workshop-functional-application-created\/","title":{"rendered":"In the GraphQL workshop, a functional application was created"},"content":{"rendered":"<p><b>When we were saying goodbye to the participants of the Frontend Masters vol. 22 \u2013 GraphQL in practice, we promised them that we&#8217;d organize a workshop on the same topic. Therefore, Mi\u0161o and I put our heads together, prepared codes and structure, and on May 10 we welcomed 5 enthusiasts who wanted to give the technology a try. What did we code together in two hours? A functional hockey app!<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Let&#8217;s start from the beginning. <\/span><b>We invited to the workshop preferentially participants of the aforementioned lecture, where they were given a theoretical basis on which they could build. However, the news about the event got even further and in the end, even the programmers who weren&#8217;t at the FM also took part in the event.<\/b><span style=\"font-weight: 400;\"> To overcome this difference, firstly, Mi\u0161o seized the mike and quickly outlined the lecture from the event. We all recalled the key information and were able to put it into practice.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The first lesson of the workshop was focused on API preparation. <\/span><b>Mi\u0161o introduced participants to the git repository (<\/b><b>https:\/\/gitlab.bart.sk\/workshop\/<\/b><b>), which they downloaded to their computers to save valuable time.<\/b><span style=\"font-weight: 400;\"> Subsequent API preparation was divided into four branches, where the programmers could either gradually write the code from the beginning or try the existing one. This approach allowed them to progress at their own pace and explore different aspects of API creation.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The second hour, during which I presented, was devoted to the frontend. <\/span><b>We started with showcasing the Apollo web environment and then smoothly switched to connecting the frontend to the created backend.<\/b><span style=\"font-weight: 400;\"> We were doing great and within an hour we had a finished product that looked like this:<\/span><\/p>\n<p><a href=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/06\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-10942\" src=\"https:\/\/blog.bart.sk\/wp-content\/uploads\/2023\/06\/image-18.png\" alt=\"\" width=\"1996\" height=\"994\" \/><\/a><\/p>\n<p><b>The app made it possible to quickly search for hockey players by name and display their matches at the World Hockey Championships with a date, place and result.\u00a0<\/b><\/p>\n<p><span style=\"font-weight: 400;\">We, the lecturers, were very satisfied with the result. However, we were interested in what the participants thought about the workshop. After it was over, we sent them a questionnaire asking for feedback. It has further multiplied our good feeling.\u00a0<\/span><\/p>\n<p><b>For example, they wrote that they liked a simple and quick overview of GraphQL on practical demonstrations, because this way they fully adopted this concept and gained confidence in its use.<\/b><span style=\"font-weight: 400;\"> Participants also appreciated the pre-prepared branches in the repository, which allowed them to progress at their own pace and at the same time have a functional code for testing.<\/span><\/p>\n<blockquote><p><i><span style=\"font-weight: 400;\">&#8220;Since my vision is a bit worse, it happened to me at similar events that I didn&#8217;t manage to write the code alongside with others. In the beginning, I was afraid that I wouldn&#8217;t be able to test the functionality properly. I was very pleased when I found out that there were pre-prepared branches in the project in which the given code was ready. What I liked the most was how GraphQL was explained simply and quickly in practical demonstrations. I think that after this event I fully understand the concept, and I won&#8217;t be afraid to use it in future.&#8221;<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">\u2013 Ondrej<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">&#8220;Thank you very much for the workshop, I liked it and I broadened my horizons. I&#8217;ve heard of GraphQL, but I haven&#8217;t had the experience yet, so I was looking forward to trying it out. It was clearly and simply explained, understandable even to a person who hadn&#8217;t worked with it yet. Mi\u0161o had a nice introduction, where he explained what it was about, what&#8217;s the difference compared to the REST and showed us the backend. Ady then demonstrated nicely how it could be connected to the frontend.&#8221;<\/span><\/i><\/p>\n<p><i><span style=\"font-weight: 400;\">\u2013 Val\u00e9r<\/span><\/i><\/p><\/blockquote>\n<p><b>In addition to praise, we also received suggestions for improvements, such as adding a quiz, as well as tips for topics for the next workshops.<\/b><span style=\"font-weight: 400;\"> And since this one turned out great, we&#8217;ll be happy to organize it again. When? We&#8217;ll let you know in time, so don&#8217;t forget to follow us on social media<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"When we were saying goodbye to the participants of the Frontend Masters vol. 22 \u2013 GraphQL in practice,&hellip;","protected":false},"author":45,"featured_media":7317,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":""},"categories":[210],"tags":[388,446,394,270],"_links":{"self":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7121"}],"collection":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/comments?post=7121"}],"version-history":[{"count":1,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7121\/revisions"}],"predecessor-version":[{"id":7122,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/posts\/7121\/revisions\/7122"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media\/7317"}],"wp:attachment":[{"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/media?parent=7121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/categories?post=7121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bart.sk\/en\/wp-json\/wp\/v2\/tags?post=7121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}