Open ihabassi opened 9 years ago
Try following the getting started in the readme but don't do the node JS server. That should give you the API only On Sun, Dec 21, 2014 at 10:31 AM ihabassi notifications@github.com wrote:
Hi, Is it possible to install the API only? If yes do you have any step by step instruction how to install it.
Thanks, Ihab
— Reply to this email directly or view it on GitHub https://github.com/Wildhoney/Magento-on-Angular/issues/85.
@aonic Does that mean to retrieve product data via API (and not via sockets) you simply leave out the command node node/server.js
?
I tried it and without the node command I can't retrieve any products. The browser console outputs an Angular digest error:
Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Any clue?
You need to modify the code to retrieve the products from /products
, rather than relying on WebSockets.
Yes, I thought you wanted to use the API server without the Angular front-end (in a different project). You can do that, but the Angular code as-is uses the web socket from the node server
OK sorry I think I misunderstood .. @aonic you're right @ihabassi might just wanna use the API in a different context.
Hi, Is it possible to install the API only? If yes do you have any step by step instruction how to install it.
Thanks, Ihab