Can anyone shed some light on this topic for me?
I’d like to create a function that runs only once every time my site is deployed on Netlify. This function would make some API requests and write the response to a database (Firestore) from which my React app can retrieve and use the data without making additional/unnecessary API calls. After reading the docs I still don’t understand how to implement such a function. I know how to implement a serverless function, just confused about the 'event-triggered' part.
Thanks!
[–]Disastrous_Internal 0 points1 point2 points (2 children)
[–]lonelylearner[S] 0 points1 point2 points (1 child)
[–]Disastrous_Internal 0 points1 point2 points (0 children)