
Course details
- 2h 8m
- Advanced
- Released: 3/23/2020
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.
Learning objectives
- Previewing the content model and user flow
- Extending WordPress and the REST API with a custom plugin
- Creating new meta boxes and fields
- Configuring OAUth2
- Sending authentication requests to the REST API
- Requesting login tokens
- Setting up the authorization and logout loops
- Requesting and displaying tasks
- Displaying a chart of task data
Skills covered
- Content Management Systems (CMS)
- GraphQL
- GatsbyJS
- WordPress