In this code, blog post and video you will learn how to create your own backend module in Wix Code. How to call it from your pages using both promises and async / await. Happy coding.
Code is here:
https://www.wixshow.com/wix-code-library/Functions-as-Promise-and-Async%2FAwait
Blog post is here:
And full and free video course is here:
https://www.wixshow.com/videos
Or just view it on my Youtube channel
Happy coding in Wix Code!