GitHunt

Shortly | Link Shortener

Shorten user defined link.

API Methods

The API accect only GET method.

API Routes

  • Base route
https://shortly-samin.herokuapp.com
  • Shorten a link
https://shortly-samin.herokuapp.com/shorten

Create a short link for a given URL. Requires a url parameter

Example

https://shortly-samin.herokuapp.com/shorten?url=example.org

Response

{
  "result": {
      "shortenId": "kcven",
      "shortenLink": "https://shortly-samin.herokuapp.com/redirect/kcven",
      "originalLink": "http://example.org"
  }
}

The frontend part of this project

The Live preview of this project

Happy Coding ๐Ÿš€

Languages

JavaScript100.0%

Contributors

Created December 7, 2021
Updated August 31, 2023