/ok-short

Short link service built on golang

Primary LanguageGoMIT LicenseMIT

ok-short

Short link service built on golang

Build On

  • echo
  • qmgo
  • redis
  • mongodb

MIT license

Feature

  • Long links -> Short link
  • Jump to the original url by visiting the short link
  • Query the original link through the short link

Prepare the environment

  1. redis
  2. mongodb

Set up the above environment and modify the configs/config.yaml

Compilation

scripts/build.sh # Use scripts/build.bat on Windows
  1. Access swagger page: http://ip:port/swagger/index.html

License

Released under the MIT License