Architecture Kata "URL Shortener"

Develop an internet service to shorten URLs like bit.ly, TinyURL or Google url shortener.

Users can enter a URL on a page and receive a shortened version in return. The shortened version of a URL is the same for every shortening request.

If this shortened URL is used as an address in a browser, the document of the unabridged URL is displayed after redirection via the Internet service.

Statistics are kept for each shortened URL:

  • How often was a shortening of the URL requested?
  • How often was the shortened URL accessed?

Anyone can view the statistics. It should also be displayed automatically after each cut.

Variation #1

Users can log in. Shortenings then provide a separate URL for each user. In addition to the previous statistics, the views per user are then counted.

Only users can view statistics. This is intended as an incentive to register.

 

 

 

en_USEnglish