Skip to main content

server-core/http

packages/server/src/http

Purpose

HTTP server construction barrel.

Public surface

makeCoreHttpApp

Function
Build the core HTTP app. Composes the two always-on routes (/health, /ws) with the auth surface (/api/v1/auth/register) and wraps the router in CORS. Returns: The created core http app.

makeNodeHttpServer

Function
Creates node http server. Returns: The created node http server.

Files

  • node-http-server.ts
  • routes.ts