Chapter 4: Connecting Angular and the WordPress API with wp-api-angular
by Ilya Bodrov-Krukowski
In this tutorial, you’ll learn how to work with the wp-api-angular library that allows you to interact with the WordPress API from Angular 2+ applications. This library supports all major WP resources including users, posts, comments, media, taxonomies etc. It’s also quite simple to use, so you’ll get the idea in no time.
To see the library in action, we’re going to code the following features:
- Authentication using JWT
- Listing the users
- Listing the posts
- Creating and editing the posts
- Deleting the posts
By the end of the article, you’ll become familiar with this library and will be ready to use it on your own.
Source code
The source code for ...
Get Learn Angular: 4 Angular Projects now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.