How do I go about creating an app that updates/adds assets (.liquid files)?

aviation-1000
Excursionist
16 0 2

Hi,

 

I followed this tutorial: Build a Shopify App with Node.js and React and I'm wondering how would I go about retrieving a specific asset and updating it.

 

I can see on the Assets API docs that I can make an API call to do just that, but in the tutorial there is no mention on how to "connect" the React front-end and the Node.js backend.

 

So far, I understand that I can use GraphQL to add a product for example. But what I want is my React frontend to call a backend API which would itself call the Assets API. Is it possible? If yes, how?

 

Thanks!

 

0 Likes
neel738
New Member
6 0 0

Hi! Did you get a solution yet? I am looking for one as well !!

0 Likes