A simple link-shortner application.
$npm install && npm test
Click here
Baseurl: https://linkchoppa.herokuapp.com/
Endpoint | Description | Method | Params |
---|---|---|---|
/ | Home | GET | |
/url/append | Create new shortened url | POST | {url:url to be shortened goes here} |
/url/all | Get all shortened urls | GET | |
/url/update/slug goes here | PATCH | {url: new url goes here} | |
/slug goes here | visit a shortned link | GET | |
/slug goes herer | delete a shortened url |
all end points return HTTP status code 404 when it encounters error.