Skip to content

mglukhovsky/realtime-earthquakes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Realtime earthquakes with USGS

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.

Basic requirements

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).

Writing your first query

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.

About

Live earthquake map with RethinkDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published