With WIX Code (which worked beautifully by the way!) I have made a solution for a particular problem that I encountered a lot on these forums. I was planning to package and publish this software in a Wix app so that other developers (and non-developers) can re-use my solution. Unfortunately, looking through the app documentation (https://dev.wix.com/docs/) I now learn that a Wix app is mostly just an iframe with only limited (and mainly front-end) integration via the SDK.
So, I have the following two questions:
1) Is there any way my app can interact with the features from WIX code, for example with wix-router, wix-data, etc..?
2) If I can't share my solution in an app, it would actually be even better if I can share my current WIX Code solution directly. Right now the only way I can think of is publishing an open-source GitHub repo and pointing people to that, but there are many downsides to this method: other developers would have to copy over the code into multiple files, set up the pages in exactly the same way and redo the DB configurations manually. In addition, this of course wouldn't be an option for non-developers, and it would miss the visibility of the app market. So, is there a more seamless way to share and re-use WIX Code solutions? Otherwise, it would seem that every developer using WIX Code is forced to re-invent the wheel over and over.
Thank you in advance for your time,
edit: clarified second question, some formatting