My Face

Created by Rafael (Rafase282) Rodriguez.

FreeCodeCamp API Basejump: URL Shortener Microservice

User stories:

  • When I visit that shortened URL, it will redirect me to my original link.
  • Example creation usage:

    https://little-url.herokuapp.com/new/https://www.google.com
    https://little-url.herokuapp.com/new/http://foo.com:80

    Example creation output

    { "original_url":"http://foo.com:80", "short_url":"https://little-url.herokuapp.com/8170" }

    Usage:

    https://little-url.herokuapp.com/2871

    Will redirect to:

    https://www.google.com/