HZPaste is a simple REST API app, which serves source code snippets.
HZPaste uses gin web framework.
By default HZPaste runs on port :8888
HZPaste server can be configured using the environment variables:
$ export HZPASTE_HOST=0.0.0.0
$ export HZPASTE_PORT=9090
make test
make run
make release
make swag-init
There is an amazing UI for hzpaste backend:
https://github.com/AlenaMaer/pastecodes
HZPaste
provides swagger documentation:
http://localhost:8888/swagger/index.html
HZPaste has PGC (Paste Garbage Collector), that sweeps and removes obsolete pastes from it's storage.
I'm in love with books. If you want to thank me, just help me to buy books from the list