Software Archive
Read-only legacy content
17060 Discussions

Help setting up a project with Angular JS and Node JS

Daniel_M_5
Beginner
843 Views

I am working on a Single Page Application using Node js, Angular js and MongoDB (eventually), so I was looking forward making a simple app for it. So I created the app from scratch in Intel XDK but when I emulate the app it always goes to 127.0.0.1:58885 (if I remember correctly) but I need the app to start in xxx.xx.xx.xx:1337 as this is the server where the application is running. The structure of the app goes as follows:

-node_modules\

-bower_modules\

-appfiles\

----------client.html

----------client.js

----------webserver.js

 

How can I do this?

0 Kudos
3 Replies
Amrita_C_Intel
Employee
843 Views

 

The html5 app cannot have server dependency to run, it can do ajax call to any server but it should run independent of any server, cordova packaged app will run the app with file server and emulator uses a local server to emulate.

0 Kudos
Daniel_M_5
Beginner
843 Views

Oh Ok I see...is there anywhere I can get a hold of resources (i.e. demos) of what I am trying to do?

0 Kudos
Amrita_C_Intel
Employee
843 Views
0 Kudos
Reply