Clone of bitly website. Function as aURL Shortener.
Run bundle install to install dependencies.
Create database with bundle exec rake db:create and bundle exec rake db:migrate
Run server bundle exec rake server
Browser URL: localhost:9393
- http://www.blacktm.com/talks/building_web_apps_with_rack_and_sinatra/#simple_rack
- http://www.sinatrarb.com/intro.html#Environments
- http://nycda.com/blog/integrating-activerecord-into-a-sinatra-project/
- http://rake.rubyforge.org/
- http://recipes.sinatrarb.com/p/development/bundler
- https://robots.thoughtbot.com/test-rake-tasks-like-a-boss
- http://apidock.com/rails/String/singularize
- http://code.tutsplus.com/tutorials/how-to-integrate-rspec-into-a-sinatra-app--net-21564
- http://www.millwoodonline.co.uk/blog/mini-minitest-tutorial
- http://www.sinatrarb.com/configuration.html
- https://devcenter.heroku.com/articles/getting-started-with-ruby-o
- https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server
- https://blog.codeship.com/puma-vs-unicorn/
- https://devcenter.heroku.com/articles/getting-started-with-rails3
- http://www.getlaura.com/how-to-enable-sessions-with-sinatra/
- http://stackoverflow.com/questions/5693528/how-to-use-sinatra-session