Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
URL shortener using Sinatra and MongoDB.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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.

Something went wrong with that request. Please try again.