Architecture Kata “URL Shortener”
Users will enter a URL and get a shortened version back. The shortened version of a URL will be the same even if the URL gets shortened several times.
When the shortened URL is used in a browser the original page will be displayed after the service retrieved the original URL and redirected the browser to it.
The service keeps stats on each shortened URL:
- How often the original URL has been shortened
- How often the shortened URL has been called
Anyone can view these stats. It will be displayed together with the shortened URL for each request.
Users can register with the system. Then shortened URLs are user specific.
Only users can view stats. This is to incentivize registration.
“I am the founder of Majer Consulting and Majer Training and an experienced software developer, trainer and consultant. I have been on the road in the SAP world since 1998, supporting numerous projects, and have developed a passion for software engineering, software testing and agile development methods such as TDD. When I am not servicing customers or holding seminars, I am speaking at conferences or writing my next book.”