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
Add an API route somewhere under admin (e.g. create a file src/app/admin/resumes/route.ts).
The API route should:
Gather all resumes from the users collection in the database
The resumes are stored under the application.resume field in base64 format if provided. e.g. data:application/pdf;base64,JVBERi0xLjQKJdPr6eEKMSAwI...
We could filter out all the values that don't start with data:application/pdf;base64,
Create a zipball (may use the jszip package or something else) with all the resumes, each resume stored with the name ${application.firstName} ${application.lastName}.pdf inside of the zipball
Send the zipball to the browser
The text was updated successfully, but these errors were encountered:
Feature
Add an API route somewhere under
admin
(e.g. create a filesrc/app/admin/resumes/route.ts
).The API route should:
users
collection in the databaseapplication.resume
field in base64 format if provided. e.g.data:application/pdf;base64,JVBERi0xLjQKJdPr6eEKMSAwI...
data:application/pdf;base64,
${application.firstName} ${application.lastName}.pdf
inside of the zipballThe text was updated successfully, but these errors were encountered: