An implementation of an URL shortener with Spring Boot and Thymeleaf as a template engine. The project uses embedded file based H2 database. However it can be easily changed to another vendor due to using Spring Data.
mvn clean install
or (with no tests)
mvn clean install -DskipTests
cd target
To run on localhost:8080
java -jar shortener.jar
To run with your domain address
java -jar -Ddomain-url=https://your.site.com shortener.jar
To run as a daemon process
nohup java -jar -Ddomain-url=https://your.site.com shortener.jar &