/shorturl_rails_5.0

simple short url server for hahas

Primary LanguageRuby

README

##Prerequistes:

  • mySQL
  • ruby 2.5
  • rails 5

##To build this app:

bundle install rake db:migrate

##To run this app:

rails server

##Paths

/, submit a long url and get a short url

/<short_id>, use the short id

/stats/<short_id>, find out stats about the short id