Skip to content
Example project using Tornado and Elasticsearch to build an API
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
tests
APIDescription.yaml
README.md
fabfile.py
requirements.txt
schema.py
webapp.py

README.md

Tornado and Elasticsearch Example Webapp

This is an example application to demonstrate building a basic API with Tornado and ElasticSearch.

It can be deployed with the following command:

$ gunicorn -k egg:gunicorn#tornado webapp:app

Once deployed, you can run the nosetests, to verify the API works. I should make this run on a different port when testing, that would be smart.

DONE

Implement RESTful calls for the following URLS:

http://localhost//deals?status=active

http://localhost//deals?status=inactive

Although that's ugly, we always change things in the future, so let's add a version system to the requirements.

Changed RESTful calls for the URLS:

http://localhost/v1//deals?status=active

http://localhost/v1//deals?status=inactive

You can’t perform that action at this time.