Skip to content

DanoThom/url-shortener

Repository files navigation

Build Status

An example project for a url shortening service using some CQRS and DDD concepts.

Hosted on an Azure Web App using an Azure SQL Database and Azure Redis Cache.

Dependencies

Requires .Net Core 2.2

(Optional) Redis Cache

  • For local development you can enable the cache in the config and then emulate a local redis cache by installing and running the MSOpenTech version of redis-server.exe.

Notes

Ideally you'd own 2 very short domain host names and would bounce the traffic and redirects between them. To work around this fact using limited Azure hosting in development, just navigate to /Main in order to use the website. This way generated shortUrls can still use the shorter index route.

  • CI/CD on Visual Studio Team Services
    • Pipeline:
      1. Push project to Github.
      2. VSTS Pulls Project.
      3. Builds, tests and deploys to Web App Service in Azure. (Schema changes are auto-migrated during deploy)

About

Url Shortener example project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published