Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 969 Bytes

README.md

File metadata and controls

42 lines (30 loc) · 969 Bytes

short-url

short-url.png In this project, you will know what really does windward can do, and find out how to implement a short url service. Also , You will learn a different way to Java web application without Spring. First of all, We must do

mvn clean compile

Then init database with short_url.sql

API Glance

relative path method querystring description
v1/url post originUrl generate short url for origin url
v1/url/list get - select all generated url
{url} get - access short url

build uber-jar

mvn -Pjar package

package binary file

mvn -Pnative -Dagent exec:exec@java-agent
mvn -Pnative -Dagent package

compress binary file

upx --best ./target/shortUrl