Skip to content

twmilli/url_shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

url_shortener

Project to learn node js

  • shortens urls (would work better if domain name I deployed it on was short)
  • generates a unique hash for each url using md5
  • utilizes a mongodb deployed on mlab to store URL hashes
  • deployed on heroku: https://secure-crag-25604.herokuapp.com/

Example Usage:

https://secure-crag-25604.herokuapp.com/new/http://www.foo.com
https://secure-crag-25604.herokuapp.com/new/http://www.google.com

Example creation output:
{ "original_url": "http://www.google.com", "short_url": "http://secure-crag-25604.herokuapp.com/7WRqMz" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published