This is an implimentation of Tiny URL using Azure Service Fabric
| API | Description | Returns | Parameters |
|---|---|---|---|
| /createURL | Create ShortURL for a link | An object with the shortURL. eg: In JSON : { "shortUrl" : "http://localhost:8471/c" } |
Form Parameters: - URL : String (URL that you want to convert) - partition : int (partition id to fetch a specific reliable collection) |
| /{shortURL} | Redirects you to the stored URL | A Redirect to the stored URL. | Route/Path Parameter: - shortURL : String (short url returned after /createURL API) Query Parameter: - partition : int (partition id to fetch a specific reliable collection) |
git clone https://github.com/adityastic/TinyURL-Service-Fabricto your desired location. The Directory should look something like this:
- Double-CLick on TinyURL.sln or Open this folder using Visual Studio.
Note: Make sure you have a minimum 5 Node Service Fabric Cluster on your machine. Checkout Setting up a Development Environment.
Right-Clickon the TinyURL Project.- Select
Debug. - Select
Start new instance.
This project is Free and Open Source software. The project is licensed under the MIT.

