Lets Build a Url Shortener Pt3 - MVP Reflection

Alright! Well my fun weekend task took a leetle more than the fun weekend, but it’s released! A user can:

  • Provision a short url for a given long url using an x-api-key header (securely stored in AWS Secrets Manager).
  • Navigate to the short url and have it redirect the user to the target long.
  • Have the usage of this short url (crudely) tracked via a hit counter in DynamoDB.

What’s next?

Next up I need to figure out how I can wire this new shortener into my Hugo workflow. I’m thinking initially that I can accomplish this using a new Hugo archetype and a bit of bash? So I’ll probably go with that option first and see where that takes me!

Other than that I’m sure that I’m missing some tests and documentation here and there so I’ll spend some time finalising all that before we can call this MVP done done done.

I’ll add a roadmap to the docs of my repo sometime soon, too! You can find all the supporting code for this over on my github.

Signing off for now as it’s too sunny outside and I can’t read my screen!

Blog, code and stuff.

Dev: @deliveroo
Games Dev: @sheepandram.com

Permalink Short URL

2022-06-14 07:59:58