marinsborg
UrlShortener-API
Java

API for converting long urls to short urls

Last updated May 9, 2026
86
Stars
33
Forks
4
Issues
0
Stars/day
Attention Score
27
Language breakdown
Java 96.3%
Dockerfile 3.7%
Files click to expand
README

UrlShortener-API

Maintainability

This is an API for URL shortener service like tiny url.

Url shortener is a service that converts long URLs into short aliases to save space when sharing URLs in messages, twitter, presentations, etc. When a user opens a short URL, it will be automatically redirected to the original (long) URL.

How to use

  • With Docker and docker-compose:
$ git clone https://github.com/AnteMarin/UrlShortener-API.git
$ cd UrlShortener-API 
$ docker-compose up

- Open localhost:8080/swagger-ui.html to see endpoints.

  • Without Docker:
$ git clone https://github.com/AnteMarin/UrlShortener-API.git
- Make sure you have access to local or any MySQL server. - Open project in your favorite editor and change application.properties file to point to your MySQL database - Build Spring project - Open localhost:8080/swagger-ui.html to see endpoints.
🔗 More in this category

© 2026 GitRepoTrend · marinsborg/UrlShortener-API · Updated daily from GitHub