Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 786 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 786 Bytes

Simple URL shortening API

This project was developed solely for study and practice purposes.

Installation

  1. Clone the repository:
$ git clone https://github.com/imfelipedev/URL-shortener
  1. Install dependencies with Maven

Usage

  1. Start the application with Maven
  2. The API will be accessible at http://localhost:8080

API Endpoints

Shorten URL.

POST /shorten
Parâmetro Tipo Descrição
url string URL to shorten

Get URL/Redirect.

GET /redirect/${id}
Parâmetro Tipo Descrição
id string Shortened URL

License

MIT