Question

Is it possible to have an Express/NodeJS/Neo4J stack running on a dev laptop at home, say on port 3000 and connect to it from an app in development running on an iPhone/iPad?

I am thinking that since the data exchange would happen via RESTful services as long as the app knows the IP address and the port number to connect to within the home network, things should just work. But since I have zero knowledge of iOS programming, maybe I am not aware of restrictions imposed to apps in dev mode running on devices BEFORE they are actually being offered on the appstore.

In other words, do I need to have a development server to run an Express/NodeJS/Neo4J stack for iOS development, or would it be fine to work within the home network?

Was it helpful?

Solution

Yes, you can run your app's backend server from your development machine. I do this all the time. As you pointed out, you only need to know the IP address and port of the server. As long as the device and server are on the same network, you'll be fine. You can use both the simulator and a real device to access the server running on your dev machine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top