simple api to shorten urls made with nodejs