@metreeca/gate - v0.12.0
    Preparing search index...

    Function server

    • Creates an Express application served over HTTP.

      Parameters

      • Optionalstore: Store

        The store holding the resources the application serves, shared by every driver mounted on the application or on its sub-applications; if omitted, requests reaching a driver fail with a 500 status

      Returns Server & Express

      A new Express application, whose listen() serves it as described by Server.listen