import { buildApp } from "./app.js"; import { loadConfig } from "./config.js"; const config = loadConfig(process.env); const app = buildApp(config); app.listen({ port: config.port, host: "127.0.0.1" }) .then((addr) => console.log(`backend listening on ${addr}`));