Building a Headless WordPress App with REST API
Author | : Morten Rand-Hendriksen |
Publisher | : |
Total Pages | : |
Release | : 2020 |
ISBN-10 | : OCLC:1258689565 |
ISBN-13 | : |
Rating | : 4/5 ( Downloads) |
Download or read book Building a Headless WordPress App with REST API written by Morten Rand-Hendriksen and published by . This book was released on 2020 with total page pages. Available in PDF, EPUB and Kindle. Book excerpt: Headless applications use content management systems like WordPress as data resources and present the data independently. In this course, Morten Rand-Henriksen shows how to build these data-driven front-end applications on top of the WordPress REST API. Follow along with the evolution of the course project, Task Book, a standalone app using WordPress REST API to receive and send data using authenticated requests over OAuth2, as Morten explains key concepts and techniques. Find out how to build a basic plugin to add new content types, roles, capabilities, and fields to WordPress and the REST API; set up authentication with OAuth2; and configure the headless app logic with JavaScript. Plus, find out how to display task data and generate simple charts using the Chart.js library.