Skip to content

Sinatra/MongoDB application to record an Australian bird life list

Notifications You must be signed in to change notification settings

neilfws/AusBirds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AusBirds

I wrote this code to provide a way to record a life list of Australian birds. The species are retrieved from this Wikipedia page and stored in a MongoDB database. Sinatra provides the web application, with help from jQuery (jQuery-UI and Highcharts).

The code is for my personal use and comes with no guarantees whatsoever. If you’d like to give it a try, here are the steps:

  1. Download the code, e.g. git clone git@github.com:neilfws/AusBirds.git and cd code/sinatra
  2. bundle install
  3. Install MongoDB on the same machine (default host localhost and port)
  4. Seed the database using rake db:seed (creates database birds, collection species)
  5. Start the application; e.g. shotgun config.ru then http://localhost:9393

You can add, remove or search for species from the index page (all fields autocomplete when a common name is entered). Species can be edited from a search result or from the List page. The Genera page shows the top 20 genera (by percent observed); the Extinct page lists species where the notes field contains the word extinct.

About

Sinatra/MongoDB application to record an Australian bird life list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published