Skip to content

Based on windward, Build your short url service. In addition, It's an awesome practice for windward

License

Notifications You must be signed in to change notification settings

esotericman/short-url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Based on windward, Build your short url service. In addition, It's an awesome practice for windward

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages