NEXT_PUBLIC_API_URL=...
Request:
{ "originalUrl": "<https://example.com>" }
Response:
{ "shortUrl": "https://.../abc123" }
flowchart LR
User([Submits URl]) --> Backend[Validates URL]
Backend --> API([API Request sent])
API --> GC[Generates Code]
GC --> RR(Response Returned)
RR --> UI([UI Updated])