Resources/index.js now full resources from the Faunadb, via netlify function.
Read and Write functionality of Resource items is fully functional via GET and POST requests to /.netlify/functions/allResources
Netlify Functions -
allResources.js serves as a controller that chooses which function to deploy, based on http request time. All other files within the functions/allResources/ are the individual functions themselves. For example - sending a GET request to allResources will call the read-all.js function, while a POST request will call the create.js function.
Resources/index.js now full resources from the Faunadb, via netlify function. Read and Write functionality of Resource items is fully functional via GET and POST requests to /.netlify/functions/allResources
Netlify Functions - allResources.js serves as a controller that chooses which function to deploy, based on http request time. All other files within the functions/allResources/ are the individual functions themselves. For example - sending a GET request to allResources will call the read-all.js function, while a POST request will call the create.js function.