A simple REST API to shorten URLs with a DDD design and TDD.
Returns code 301 or 404 if it was not found Malformed URLs will return 400
public record URLShortenForm(String originalURL) { }
public record URLShortenResponse(String originalURL, String shortenedURL) {}