Forge.API.Server (Forge v0.1.1)

View Source

Boots the Forge /v1 Plug router via Plug.Cowboy.

Controlled by :forge, :api_server config:

config :forge, :api_server, enabled: true, port: 4102

Disabled in test to avoid binding real ports.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

start_link(opts)