This project was developed solely for study and practice purposes.
- Clone the repository:
$ git clone https://github.com/imfelipedev/URL-shortener
- Install dependencies with Maven
- Start the application with Maven
- The API will be accessible at http://localhost:8080
POST /shorten
Parâmetro | Tipo | Descrição |
---|---|---|
url |
string |
URL to shorten |
GET /redirect/${id}
Parâmetro | Tipo | Descrição |
---|---|---|
id |
string |
Shortened URL |