基于openresty实现的短网址服务
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
conf
lib
logs
README.md
init.sql

README.md

OpenResty shorturl

基于OpenResty实现的短网址生成服务

主要使用Redis存储,并且将数据落地到MySQL

curl -X POST \
  http://127.0.0.1:8080/api/v1/shorturl.json \
  -H 'content-type: application/json' \
  -d '{
    "url": "http://zhu327.github.io"
}'