Steps for starting the server
Steps:
Run
make up_buildto spin up postgres instance.Run
make runto run the server.
Testing
After performing the above steps, the server will be up at http://localhost:8080/
Currently, 6 endpoints are supported:
POST Endpoints
http://localhost:8080/nodeshttp://localhost:8080/mpkshttp://localhost:8080/sos
GET Endpoints
http://localhost:8080/nodeshttp://localhost:8080/shares/:minerIdhttp://localhost:8080/magicblock
Last updated