Building a SharePoint-hosted search-driven app
Now that we know how to use the new client-side APIs, how keyword queries work, and the overall idea of apps, let's combine all that knowledge and create a client-side search-driven app.
We mentioned in the previous chapter that the Content Search Web Part is not available in Office 365. What we will build now is a simple content search like web part that will aggregate all the tasks a user has over the entire tenant.
The end result of this section is as follows:

Create task apps (lists)
Create a task app (list) on the Video Games site, and any other sites you may have. Add some tasks that are assigned to your user and other users and wait a bit for the continuous crawl to pick up the new content.
Understanding the requirements
Our requirements are to display all the tasks from everywhere in the tenant for a specific user. Naturally, you may think that creating a result source is the first step in creating this app. Think about it a bit harder: when...