Public url shortener
Simple url shortener API
I would advise you to interact with the API through the cli tool shorten-cli
.
See https://github.com/martolini/shorten-cli
API Reference: https://urlshortener.surge.sh
$ yarn #install packages
$ yarn test #run tests once
$ yarn test:watch #watch tests
$ yarn watch #run and restart on changes
BASE_URL
-- Base url that gets returned from POST /shorten
.
PORT
-- port that the server is listening to.