Skip to content

A simple program to autocomplete searches based on what Shakespeare would write.

License

Notifications You must be signed in to change notification settings

org-not-included/search_completion

Repository files navigation

search_completion

A simple program to autocomplete searches based on what Shakespeare would write.

CodeFactor Grade GitHub languages GitHub license
GitHub pull requests GitHub issues GitHub contributors
GitHub Release Date GitHub last commit GitHub commit activity
GitHub forks GitHub stars GitHub watchers Twitter Follow

Try it out

Visit http://search.notincluded.org in your web-browser.


Quick Start

  1. Install npm, NodeJS, and frontend requirements:
source setup/install_prereqs.sh

  1. Start the backend and frontend:
source setup/run_server.sh

  1. In a new terminal, test the back-end is running:
curl http://127.0.0.1:5001/prefix/fl/7
curl http://127.0.0.1:5001/details/hungry

  1. Now that both services are running, navigate in web-browser to http://localhost:3000

  1. Once you've tested the site, you can kill the webserver and backend by running:
kill -9 $(lsof -ti:3000)
kill -9 $(lsof -ti:5001)