It finally happened. My first Sinatra app is up on Github.
Twitter Dash is a dashboard of your Twitter activity over the last 30 days. Originally I wanted to work with Sinatra on something but I also wanted to look at building something with the Twitter API and the Google Charts API. Mashing these together I came up with the idea of a simple dashboard for my Twitter activities.
Twitter Dash tracks activities like the number tweets with links and hashtags in them as well as the number of tweets, friends and followers you have over the last 30 days.
It was definitely a learning experience, and I noticed a few things that I would need to change when I work on future Sinatra projects:
- Testing - I didn't write a single test for this and maybe I should have, but this was just about hacking on an application to understand the basics of Sinatra. However, now that Twitter Dash is at a stage where it does what I want it too, I'm going to focus my next Sinatra project on learning how to test internally using Test/Unit to begin with and then move onto something like RSpec or Cucumber.
- Version Control - I left my commits for too long in between updates. This is something that will come with using bdd/tdd in my next project. Once you get a feature working, you can check it in with a nice commit message and then start on the next one.
For the moment Twitter Dash is going to be an ongoing project that I can use to try out different features from Sinatra as well as having something functional to work with.
