Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Shortener application that uses MongoDB, cucumber and rspec
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
features
lib/tasks
public First commit
script
spec
vendor/plugins
.gitignore
.rspec
Gemfile
Gemfile.lock
License
README
Rakefile
config.ru

README

Url shortener

Technologies:

Rails 3
Cucumber
Rspec
MongoID

This is a demo app that I've created to get comfortable with MongoDB.

The app works as follow:

Enter an url and get its shortened version. You can see stats for shortened urls by appending .stats to the shortened url. To view the complete url before being redirected to it, append .preview to it.

Note: There's one failing step in Cucumber, given that I don't know how to test the redirect to an external domain. I'll fix this asap.
Something went wrong with that request. Please try again.