This project serves as a basic way to get started with RethinkDB and ReQL (its query language), by building a simple app that shows an updated feed of the latest earthquakes, reported by USGS.
You'll need the following:
- Python 2.7+
- The
flask
module (pip install Flask
) - The
rethinkdb
module (pip install rethinkdb
) - A running RethinkDB instance. Note that RethinkDB runs on OS X and Linux (if you run Windows, you can use Vagrant or a hosted service).
You'll need to write your first ReQL query to get the app running. Open
app.py
and look for the TODOs in the code. They should explain what needs to
be included. You might find the RethinkDB API and
documentation helpful.
Once you get the basic query filled out, you can try running the app:
python app.py
A solution is provided in the solution
directory, in case you get stuck.