flexing some Sinatra skills writing a url shortener.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
views
Gemfile
Gemfile.lock
LICENSE
README.rdoc
app.rb

README.rdoc

Shorty URL

Shorty URL is written in the Sinatra ruby framework. More on Sinatra here: www.sinatrarb.com

Requirements:

  • Ruby 1.8.7+

  • Rubygems

  • Sqlite

Set up:

git clone git://github.com/chrisledet/shorty_url.git
bundle install
bundle exec ruby app.rb -p 3100

View at: localhost:3100 and bang!