I’ve got a question regarding the usage of NodeJS together with my Ionic app. I read some tutorials and blog entries about it but those dont really clear things up for me about how to use those two components together. Understanding the $http or $resource directives is not the problem. I’m struggling connecting my Ionic app with the server I’m running at the same time.
Assuming I start the Ionic app with ionic serve on port 8000, so it is running at localhost:8000 and my NodeJs Server at port 8001, so I can access it at localhost:8001, how do I have to make the API call with the $http or $resource directive in my Ionic controller ? I think I’ve got a general understanding issue about the connection of both frontend and backend components.
I would appreciate it a lot if someone could give me a brief explanation on that
Many greetings from Germany