Creating a global API for your Data Collections (Free tutorial)

Hey there coders!
I got in a project where my client needed basically all Data Collections open through an external API so that other systems could reach data from endpoints and get all data as JSON. I thought about this and how I could create that for 32 Data Collections with one function only. It is just 40 lines of code and it works like a charm.

In this tutorial I will show you how I did it and the source code is also here.

Source code for backend folder file http-functions.js

#httpfunctions api #datacollection #wixData #json

2 Likes

Any feedback would be appreciated a lot on this one

Looked at it with interest, because I am going to need it soon. I now understand why you were so concerned with speed: delivering 100 rows in 14 seconds can prove difficult at times.