URL shortener using Sinatra and MongoDB.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
features
.gems
.gitignore
README.md
config.ru
shorty.rb

README.md

Shorty

A URL shortener written in Sinatra and MongoDB.

Mongo

Follow the Ruby tutorial to learn how to interact with Mongo with Ruby.

Hosting

I recommend using Heroku for the app and MongoHQ for storage.

Tests

The app is tested in an acceptance style. It uses Rack::Test (which is built on top of Test::Unit), Webrat, and a custom Cucumber-ish DSL, using methods instead of pattern matching programming.