We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Linko Overview

Throughout this course, we'll add logging and observability to "Linko," a simple URL-shortening service. Link shorteners are common on the web: they let users take a long, nasty-looking URL full of query parameters like:

https://www.boot.dev/courses/learn-logging?utm_source=google&utm_medium=cpc&utm_campaign=learn-logging-course

And host a short URL that simply redirects to the long URL:

https://linko.com/bootdev

Here's the catch: Linko has already been written for you. Your goal throughout this course will be to add observability to the service.

Assignment

Get Linko running locally.

  1. git clone https://github.com/bootdotdev/linko-starter.git
    
  2. cd linko-starter
    go run .
    

There are a few strange bits of code in the Linko starter repo that you may be tempted to "fix." Don't! They're intentional bugs and oddities that we'll be using good observability to find and diagnose!

With Linko running, run and submit the CLI tests from the root of your cloned repo.