You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alright so lets try to figure out the architecture for this, it would be great to start collecting the data somewhere easy for everyone to enter, I would start with a simple google forms, where we ask people for name, position and anything else we would want. Then once we collect the data from all members, we export to a csv, transform and upload to mongo where we have most of the data. Once all the data is in the DB we can create an endpoint that returns 5 random JSON.
Now comes a blocker, for this, how do we efficiently deal with the image data, because we don't want to store the data on our server?
Alright so lets use Vercel Blobs since it will have the best performance for our website, we just use a script to download the images from Google Drive and then upload them to the Vercel Blob Storage which is very good. This will get use direct URLS we can then store in our mongo.
Create a single collection called
users
in which a document might look like this:This feature should also come with the following endpoints:
/members/all
/members/add
The text was updated successfully, but these errors were encountered: