Without a doubt, one of most interesting and desired additions to the WordPress core is the WP REST API plugin. The last March 24, 2015 the Version 1.2 release was announced with many improvements, you can read the full changelog on GitHub.
Why the WP RESP API is causing so much hype?
The most important reason, in my point of view, is that we can finally create an independent (“WordPressless”) front-end. Now we can create a front-end without the need of PHP and the WordPress Theme API.
What about to create standalone applications in any language? An application that simply consume the data extracted from WordPress using JSON? Well, this is what the WP REST API offers to us.
Let’s create something cool with it.
One thing I love about what I do is that always are new things to learn and play with.
And this is a great opportunity to learn together.
Said that, I’ll start a series of posts to cover from start to finish how to create an application made in AngularJS and powered by WordPress in the Back-end.
The goal of this series is to develop a simple job board application with a standalone client that can be access from the Web and embed into a mobile app.
- Enable the WP REST API Plugin.
- Create a CPT to store jobs with custom fields.
- Use the WP REST API filters to create a new endpoint to consume.
- Manage jobs from WordPress’s administrator.
- Material Design look and feel
- Show latest jobs with navigatioN
- Display details of each
- * Authentication
- * Create Accounts
- * Create new Jobs Posts
NOTE: * Bonus Points.
Sounds easy right?
So stay tuned.