I’m developing an app integration to connect to my company’s augmented reality services to a store. The app is ready in it’s first state and now we’re thinking about publishing it in the VTEX App Store.
We have our own API services and I was reading the engineering guidelines before submitting and it says that we need to use the VTEX IO Clients, which I think I understand now, but I don’t know how to make those calls from React or how to communicate the Node module with React.
Is there any guide or tutorial I can follow? I can’t find the exact information I need.
For now I’m just using axios to handle all the requests I need in React.
I think I found my answer in that thread, this tutorial is what I was looking for. I’m trying that solution now.
I’m getting this error following that tutorial though:
error: node@4.x builder failed to install dependencies through yarn (retries=0)
yarn errors:
graphql@16.6.0: The engine "node" is incompatible with this module. Expected version "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0". Got "12.16.1"
Found incompatible module. vtex.builder-hub@0.285.4
But I think that might be an issue for another thread, so once I figure it out what is going on I’ll close this one.
I forgot to close this, but I found a way to use my own API. Sometimes it’s hard to find tutorials related to VTEX apps but I’ll list the resources that helped me here: