@arsonar/server
v0.6.11
Published
Sonar REST API server
Downloads
27
Readme
@arsonar/server
Sonar REST API server
Usage
node bin.js start
starts the server. If installed globally, this is the same as sonar server start
. The server listens on port 9191 by default, and only on localhost (not exposed publicly).
The server is only intended to be run on localhost, and not for being reachable over public networks. There's no authentication built in yet. We'll add token based authentication soon.
HTTP API documentation
Open http://localhost:9191/api-docs or browse the swagger file.
HTTP API docs are generated by swagger. Use npm run build:swagger
to convert the swagger.yaml
to JSON and commit both the yaml and the json.