Disshort - A open source template of Shorten URL service. You can clone this project and connect to Django or php project and develop of logic part of this project.