Sign inSign up

maxhorstmann/shakesearch

By maxhorstmann

Updated over 5 years ago

Elasticsearch preloaded with Shakespeare

Image
0

366

maxhorstmann/shakesearch repository overview

ShakeSearch

Welcome to the Pulley Shakesearch Take-home Challenge! In this repository, you'll find a simple web app that allows a user to search for a text string in the complete works of Shakespeare.

You can see a live version of the app at https://pulley-shakesearch.herokuapp.com/. Try searching for "Hamlet" to display a set of results.

In it's current state, however, the app is just a rough prototype. The search is case sensitive, the results are difficult to read, and the search is limited to exact matches.

Your Mission

Improve the search backend. Think about the problem from the user's perspective and prioritize your changes according to what you think is most useful.

To submit your solution, fork this repository and send us a link to your fork after pushing your changes. The project includes a Heroku Procfile and, in its current state, can be deployed easily on Heroku's free tier.

If you are stronger on the front-end, complete the react-prompt.md in this folder.

Notes

Front-end is completely static and can just live on GH Pages: http://maxhorstmann.net/shakesearch

Back-end screams for an Elasticsearch instance with a prepopulated index:

Dockerfile => Docker Hub => ACI:

az container create \
    --resource-group shakesearch \
    --name shakesearch \
    --image maxhorstmann/shakesearch \
    --dns-name-label shakesearch  \
    --ports 9200

Tag summary

Content type

Image

Digest

Size

401.1 MB

Last updated

over 5 years ago

docker pull maxhorstmann/shakesearch