I don’t get the message → “Successfully connected to MongoDB.”
this message has nothing to do with routing, and controllers.
Look this example: