@arsonar/server

0.6.11 • Public • Published

@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.

Dependencies (30)

Dev Dependencies (2)

Package Sidebar

Install

npm i @arsonar/server

Weekly Downloads

0

Version

0.6.11

License

GPL-3.0

Unpacked Size

119 kB

Total Files

22

Last publish

Collaborators

  • frando