Hi there,
I’m developing my first Wix app at the moment - an eCommerce tool. I already wrote up a complete HTML + JavaScript code that I inject in a test website via “Tracking & Analytics” section (enabled in Premium sites).
In order to access my test website’s list of products, which I need for the app, I wrote a backend callback with a REST API and installed it as a module in my test site’s backend as explained here (serverless):
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions
However, now that I want to deploy my app as a real app, I’ve only seen this approach that requires me to deploy my own server (not serverless) independently:
https://github.com/wix-incubator/sample-wix-rest-app
Is there a way to write my app so it installs a backend Corvid module on the client’s site and so I can just communicate with that?
Is it allowed/possible to do what I’m doing right now in an official app (simply have the backend run on Wix on http-functions.js as explained in the link above instead of on my own server)?
Thanks in advance