Skip to content

JQNguyen15/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Simple url-shortener in rails. Deployed on urishort.herokuapp.com/urls/new

  • Ruby version 2.3.0

  • Rails version 4.2.6

Changelog

  • 0.5 - Added nicer UI

  • 0.4 - Switched production db to postgresql from sqlite. Deployed on heroku

  • 0.3 - Added in gem ‘valid_url’ and use in model to validate url

  • 0.2 - Added in hashed urls using base 36 encoding/decoding.

  • 0.1 - First commit

Deployment on localhost

  • git clone github.com/JQNguyen15/url-shortener.git

  • cd url-shortener

  • chmod 755 “*” (without quotes)

  • bin/rake db:migrate

  • bin/rails server to start the server

  • visit localhost:3000 to test app on localhost

Deployment on heroku

  • fork from git

  • sync up on heroku

  • run command “heroku run rake db:migrate –app <appname on heroku>” while in the folder. Also need heroku toolbelt installed

TODO

  • Refactor some front end code into proper folders

  • Upgrade to base 64 encoding/decoding for scalability

Documentation on:

  • System dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published