URL Shortener is a web API created with ASP.NET Core 6 and Dapper. It can take a long URL as input and generate a short URL that redirects to the long URL.
- Download the repository and open the "UrlShortener.sln" solution in Visual Studio
- Open "UrlShortener.Api\appsettings.json" and configure the "UrlShortenerDatabase" connection string
- Right-click the "UrlShortener.Database" project in Solution Explorer and select Publish
- Run the "UrlShortener.Api" project