Wildlife tracker is an open source Rails API for tracking animals and sightings that packages everything up in a JSON file.
This API includes two relational models, Animals and Sightings. They have the following columns and datatypes.
Animals (has_many: sightings)
| common_name | latin_name | kingdom |
|---|---|---|
| string | string | string |
Sighting (belongs_to: animal)
| data | latitude | longitude | animal_id |
|---|---|---|---|
| datetime | float | float | integer |
Clone this repo to your evironment of choice. Change your directory to the repo folder and run your rails server. Instructions on how to do this are found below.
From terminal
git clone repo_url
cd repo_folderStart your server.
rails server
Have fun!
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.