Skip to content

nbw/treelib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Treelib

Deprecated: This repository is no longer active and has since been converted into an Elixir Phoenix application

A collection of high-quality tree photographs for educators, students and lay persons.

Click here for a live demo!

Uses Flickr API for photo hosting.

Tech Stack

  • Ruby (Sinatra server, ERB for templating)
  • MySQL
  • React
  • SASS
  • HTML

Front Facing Pages

  • Species search
  • Homepage
  • Contact, Feedback, etc.

front_1

front_2

Admin pages:

  • Create/Edit Species (includes photos from Flickr)
  • Create/Edit Genera
  • Create/Edit Families

admin_1

admin_2

Changes I'd like to make:

I wrote this project as a way to learn code, but in hindsight there design decisions that I wished I'd made -- especially after reading POODIR. I'm mostly writing this to journal my own thoughts.

  • Have Species, Family, and Genus class inherit from a "classification" class to minimize repeatability.
  • Look at ways to abstract the Plantae class so that it's not one large minefield of dependancies. There is also some repeating happening where the only difference is species becomes genus or family (basically the issue being namespacing). Those cases are perfect candidates to be reduced to a single method.
  • Reduce complexity in server.rb file. The controller should be as simple as possible.

About

Website for cataloging and document tree species.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published