I have an existing hybrid mobile app written with Ionic. It uses a server I’ve written with Node and Mongoose that expose REST api.
I want to integrate an in-app chat service, and I decided to use the “whatsapp clone tutorial” with Meteor.
I managed to integrate the chat service in my existing app, however everything works because it’s all at localhost. What I want to do is to move the server side to my domain (the same server where I have REST api for the existing app), and rebuild the client side for mobile deployment.
I really don’t know how to do that… it should be very simple, but I don’t know how to say to the client where is the meteor server.
I have already moved my code to the server, and started it. Since I need to fix this thing fast,
I haven’t use deployment yet… I’ve just copied files to the server, and started it. I’ll then study the whole deployment process, and maybe restructure the app to be more “meteor compliant”.
Anyway Meteor is now listening on :3000 of my remote server, but how the client could know that?