WordPress, known for its robust content management capabilities, can also serve as a backend for central APIs, useful for applications like phone apps or browser extensions. This tutorial covers leveraging WordPress to create REST and GraphQL APIs for handling data entries like employees, teams, and offices. It includes steps
Table of contents
Following alongWhat is a web API?What data we’ll be modelingOptional: Trimming down the frontendCustom post types and taxonomiesTo Gutenberg or not to GutenbergCustom FieldsOther UI customizationsAccess controlCustom REST routesQuerying via GraphQLBuilding your ownSort: