import { startStandaloneServer } from '@apollo/server/standalone'; import { createGateway } from './gateway.ts'; import { startServers } from './servers.ts'; startServers() .then(async (configs) => { const server = createGateway(configs); const { url } = await startStandaloneServer(server); console.log(`🚀 Server ready at ${url}`); }) .catch((error) => { throw error; });