This part of the Network Graph Visualizer is the API written in Golang.
The API checks the Jalapeño API Gateway for the network data and topology and provides it via a RESTful API.
You can either build the docker container from the repository or run it directly.
cd build
docker build -t network_graph_api:latest -f Dockerfile ../
docker run -p 8080:8080 network_graph_api:latest
Navigate to the files and run the following:
go mod tidy
go run main.go
Make sure to set the JAGW in configs/config.yml
Make sure to configure the API under configs/config.yml