What Happens: meteor with express? 2 Servers?


As in the Apollo Integration with meteor, or otherwise, when we run Express.js with Meteor; what happens conceptually?

Are two web servers running in ‘dev’ or ‘production’, on two different ports/domains??

Isn’t express.js already a part of Meteor?

So if Apollo Server runs on Express, are there two different servers talking to the database (MongoDB)?

Why doesn’t Apollo server run on Meteor Server? Is it incompatible?

I think this is a conceptual question.

Many Thanks in advance!


Meteor’s Apollo package and express use the same http server that Meteor does under the hood (Express is just a framework for middleware after all).

It’s all the same server on the same ports :slight_smile:

You can see the lot being mounted on Meteor’s WebApp pacakge here: