Grokking Modern API Design Interview
Vote
0% completed
Capstone: Design a URL Shortener API
This lesson is the first complete interview answer in the course.
The interview question is:
Design an API for a URL shortener.
A URL shortener accepts a long destination such as:
https://docs.example.com/guides/api-design/interview-preparation
and creates a shorter link such as:
https://go.example/a7k2m9q
When a browser opens the short link, the service redirects it to the original destination.
The product looks small. The contract still contains permanent decisions:
- Who may create a link?
- Can the creator choose the alias?
- Can a link expire?
.....
.....
.....
Like the course? Get enrolled and start learning!