junior-dev-struggle-bus / juniordevstrugglebus

Website for the Junior Dev Struggle Bus Meetup
https://www.juniordevstrugglebus.com
MIT License
9 stars 18 forks source link

Fauna integration #44

Closed nspilman closed 4 years ago

nspilman commented 4 years ago

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.

nspilman commented 4 years ago

Don't merge this thing yet - I'm having auth issues from the fauna db outside of local, so I'll fix that before merging.

nspilman commented 4 years ago

Closing until Faunadb auth issue resolved