Skip to content

This is simple code to create a shorturl and my first openshift testing application its a try let see if it works ;)

License

Notifications You must be signed in to change notification settings

kartheekgj/shorturl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shorturl

Demo : http://shorturl-kartheekgj.rhcloud.com/

It worked as you download make sure all the files in one folder.
Make sure that you have internet connection so that i can connect with my mongodb on cloud.
Please change the config of the mongodb that are present in the config.php file.
You can change the url of the connection based on your host

Here are some of the input output :

my example static shorturl base is MYSHORTURL+/testmongo.php this may be ur short url http://example.com

  1. Long URL : https://mongolab.com/databases/gj/collections/shorturl
    Short URL : MYSHORTURL+/testmongo.php/f8WxPcFY
  2. Long URL : https://mongolab.com/databases/gj/collections/shorturl
    Short URL : MYSHORTURL+/testmongo.php/YjWDiEs8

About

This is simple code to create a shorturl and my first openshift testing application its a try let see if it works ;)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages