Files
nym/explorer-api
Jon Häggblad 1fc3c2b792 all: fix clippy on beta toolchain (#1420)
* all: fix clippy::derive-partial-eq-without-eq

* all: fix clippy::let-and-return

* all: fix clippy::unnecessary-to-owned

* all: fix clippy::needless-return
2022-06-29 20:49:29 +02:00
..
2021-08-04 12:38:35 +01:00
2021-08-04 12:38:35 +01:00
2022-06-01 11:19:54 +01:00

Network Explorer API

An API that provides data for the Network Explorer.

Features:

  • geolocates mixnodes using https://app.ipbase.com/
  • calculates how many nodes are in each country
  • proxies mixnode API requests to add HTTPS

Running

Supply the environment variable GEO_IP_SERVICE_API_KEY with a key from https://app.ipbase.com/.

Run as a service and reverse proxy with nginx to add https with Lets Encrypt.

TODO / Known Issues

TODO

  • record the number of mixnodes on a given date and write to a file for later retrieval
  • dependency injection
  • tests