Stretchpants is a really basic rails app that stores its data in elasticsearch. Normally one would store data in a database or key-value store and then add elastic search to it, but as this app shows it’s entirely possible to store the data directly in elastic search.
-
bundle install
-
start elasticsearch
-
ELASTICSEARCH_URL=“localhost:9200” bundle exec rails s
-
point your favourite browser to localhost:3000