My Solution for Designing a Simple URL Shortening Service: A TinyURL Approach
by aurora2624
Requirements
Functional Requirements:
- Create a short URL for a given long URL.
- Return the long URL associated with a given short URL.
Non-Functional Requirements:
- This is a simple and easly scaible design that uses minimal computational reasources.
API Design
The servers api efficiently communicates data between the server and client to easily return the new shortened url tot he user
High-Level Design
The client starts with the url and the client then inputs the url into our shorter program which communicates with the server to go into the data base to see which open urls there are then assigns the original 'long' url to the "Shortner" function, which creates the short url object. Then this gets return to the server for the original and shortened url to be sent back to the client.
Detailed Component Design
Our shortener complement works but takes the availble open short url and assigning it to the long url then making an object once paired.
Supports markdown