Saxonberg Server API
    Preparing search index...

    Function main

    • Main server initialization function.

      Entry-point concerns only:

      1. Validate required env vars; exit early if any are missing.
      2. Hand off to AppBootstrap.run for the prep sequence.
      3. Wire and start the Server.

      App-specific bootstrap (Mongo, seeders, PM hooks, command preload, runtime-instance manifest) lives behind AppBootstrap so this file doesn't have to know about every prep system.

      Returns Promise<void>