{"id":577,"date":"2019-07-05T13:54:28","date_gmt":"2019-07-05T13:54:28","guid":{"rendered":"https:\/\/2019.annarbor.wordcamp.org\/?post_type=wcb_session&#038;p=577"},"modified":"2019-07-10T20:08:03","modified_gmt":"2019-07-10T20:08:03","slug":"getting-started-with-wpgraphql","status":"publish","type":"wcb_session","link":"https:\/\/annarbor.wordcamp.org\/2019\/session\/getting-started-with-wpgraphql\/","title":{"rendered":"Getting Started with WPGraphQL"},"content":{"rendered":"<div class=\"box box--md\">\n<div class=\"box__content\">\n<div class=\"markdown\">\n<p>Pairing a headless WordPress backend with a JS-powered single-page app frontend is rising in popularity. In this talk, we\u2019ll discover the advantages that GraphQL has over REST APIs, and build a single-page React app that fetches data from a WordPress backend using the super cool WPGraphQL plugin. \ud83d\ude80<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"box box--md\">\n<div class=\"box box--md\">\n<div class=\"box__content\">\n<div class=\"markdown\">\n<p>In this talk, my mission is to briefly explain what GraphQL is and the advantages it has over REST APIs. I\u2019ll then do a live demo where we\u2019ll build a simple single-page React app that uses&nbsp;<a href=\"https:\/\/github.com\/apollographql\/apollo-client\">Apollo Client<\/a>&nbsp;to fetch the data it needs from a headless WordPress backend running WPGraphQL, then display it on the page. I\u2019d love for those who attend to leave with an awareness of the WPGraphQL project and a desire to use it to build super cool, fast and interactive things on the web! \ud83d\ude0a<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"box box--md\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Pairing a headless WordPress backend with a JS-powered single-page app frontend is rising in popularity. In this talk, we\u2019ll discover the advantages that GraphQL has over REST APIs, and build a single-page React app that fetches data from a WordPress &hellip; <a href=\"https:\/\/annarbor.wordcamp.org\/2019\/session\/getting-started-with-wpgraphql\/\">Continue reading <span class=\"assistive-text\">Getting Started with WPGraphQL<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":4434646,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1566644400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[575],"footnotes":""},"session_track":[1279545],"session_category":[5041],"class_list":["post-577","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-east","wcb_session_category-developer"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/padIPa-9j","session_date_time":{"date":"August 24, 2019","time":"11:00 am"},"session_speakers":[{"id":"575","slug":"kellen-mace","name":"Kellen Mace","link":"https:\/\/annarbor.wordcamp.org\/2019\/speaker\/kellen-mace\/"}],"session_cats_rendered":"Developer","_links":{"self":[{"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/users\/4434646"}],"version-history":[{"count":2,"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/577\/revisions"}],"predecessor-version":[{"id":652,"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/577\/revisions\/652"}],"speakers":[{"embeddable":true,"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/speakers\/575"}],"wp:attachment":[{"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/media?parent=577"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_track?post=577"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/annarbor.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_category?post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}