Module: @bldr/api

@bldr/api

A REST API made with express.js. The sub apps are outsourced in different modules.

Members

server inner

Express js server instance. Returned by app.listen()

Methods

run (port) inner

Run the REST API. Listen to a TCP port.

Name Type Description
port Number

A TCP port.

stop () inner

Stop the REST API.