Shorto!!! 😎
Simple Node App to short your long Url/Links, yeah call it Link Shortener for sure 😁
How to Run/Install?
Install dependency!!!
> npm install
Run it!!!
> npm run dev
Test it!!!
> npm run test
How it Works?
Make Short Url!
Method: 'POST',
path: '/'
payload: {
"ShortUrl": "YourShortUrl",
"LongUrl": "YourLongUrl!"
}
If you leave ShortUrl blank, it will generate 5 random char for you!
Get Redirected
Method: 'GET',
path: '/'
payload: {
"ShortUrl": "YourShortUrl",
}