Loading...
List the key functional requirements for the system (Ask the AI for hints if stuck)...
Daily active users - 10,000 users
Daily links - 100k+
Uptime - 98%
API response time - 100ms
POST /create-link - should input a long-format link and output a short format link
GET /:link - should redirect users to the actual link
Use a relational DB to ensure unique constraints and take advantage of indexes for fast retrieval
Links table schema:
ShortenedLink | ActualLink | CreatedBy