Not sure if something changed, but the following doesn’t work for me:
server.listen().then(({ url }) => { console.log(`🚀 Server ready at ${url}`)});
This does:
const app = express()
const server = new ApolloServer({
typeDefs,
resolvers,
})
app.listen(PORT, () => {
console.log(`Go to http://localhost:${PORT}/graphql to run queries!`)
})