Combining AngularJS and WordPress skills together to build out the missing functionality for a website called Quotes on Dev.
- Fetch random posts on the homepage
- Accept new quote submissions from the front-end of the site (from logged in users only), and set those submissions to pending
Wordpress Requirements
- Make use of the WP REST API (v2) plugin to satisfy functional requirements
AngularJS Requirements
- Create at least one Angular Directive to encapsulate the UI for displaying and fetching quotes
- Use an external template in your Directive
- Create a service module to encapsulate HTTP request/response functionality
- Enable fetching of random quotes, and fetching individual quotes using the ‘slug’ property
- Create a controller module to capture user input, perform input validation and handle submitting quotes to the API