Thank you for the greets!
Regarding structure, I think you should have the xsodata file in a node.js module and the UI in a HTML5 module - Is this the structure of your application?
Can you please describe the folder layout of the app?
Also, can you please send the full error message which you receive?
Thanks,
Omer.