Skip to content

Implement PDF upload via Google Drive API for resources #19

@PRODHOSH

Description

@PRODHOSH

for the resources section, instead of asking users to paste drive links, implement direct pdf upload using google drive api.

when a user uploads a file, send it to the backend, upload it to google drive using a service account(alrdy hav one.. pls dm me) , make the file public, and store the generated link (file id) in the database. this link will then be used to display/access the file after approval.

set up google cloud (enable drive api, service account, use json key via env), and make sure the drive is shared with the service account. handle uploads securely from backend only and keep metadata in db.

create a new branch, implement the full flow (upload → store → retrieve), test properly, and raise a pr.
comment below if ur working on this

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions