A simple and fast link shortener api
Project documentation, development report, challenges overcome and perspective for the future.
git clone https://github.com/daniel-rodrigues1089/TinyLink
cd TinyLink/api/src/main/resources
"Open file application.properties"
configure your database information
cd ../../../
mvn spring-boot:run
-
http://localhost:8080/tinylink/{code} (GET)
This endpoint redirects to the shortened link
-
http://localhost:8080/tinylink (POST)
This endpoint receives a json containing the url
{ "url":"https://daniel-rodrigues.onrender.com/" }
return example: http://localhost:8080/123456
EXEMPLE.TINYLINK.API.mp4
Throughout the development, he acquires a lot of experience with spring boot, and I was able to contemplate how powerful it is. I intend to continue this project, creating a web interface. For ordinary users to use; I am very satisfied with the result and ready for new challenges.