/route4?req={query}
It will exec bgpq3 -4 -j ${query}
And it will output json format.
/route6?req={query}
It will exec bgpq3 -64 -j ${query}
And it will output json format.
You must install bgpq3 on host first.
npm i
node app.js
And it will run on port 6999.
You must install docker compose on host first.
docker compose up -d
or
docker-compose up -d
And it will run on port 6999.
https://bgpq.yuan-tw.net/route4?req=as204844