The hiring process for most positions at Algolia includes some kind of assignment. For the Developer Advocate role that I applied for in May of 2016, the assignment was to build something using the API and record a screencast about it. I could choose whatever I wanted, and use whatever Algolia SDKs or front end tools I thought were right for the job.
I ended up using instantsearch.js to build a single-page search engine for historical presidential speech text. Since it was an election year, I thought it would be interesting, and I found a very scrape-able HTML data source in The American President Speech Archive on the website of The Miller Center.
The project is hosted by Github pages at http://oval-quotes.dzello.com/ and the interface looks like this:
In addition to instantsearch.js, the project uses Webpack, Babel.js and Bootstrap. The code is on Github and there is also a screencast on YouTube. Find the crawler
main.js file here, written in ES6, to see how the scraping, record splitting and indexing happens.
If you ever need a presidential quote about taxes, wars, the economy, or foreign policy you can find it with Oval Quotes If have you any questions about the project or would like to contribute more data or instantsearch widgets please reply in the thread.