We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Tshaniii's avatar
Tshaniii
Helpful | Level 5
2 years ago

NodeJs application with Dropbox

Hi,

I am developing a Nodejs application, with a react frontend and MySQL database. So this database will store information about the documents in the dropbox folders. (the documents table with attribute folders and etc.) So in my app I am controlling the uploading, editing, moving, signing document. At first it will be uploaded by someone so the database record will be made and then the rest of the actions too will be available from the frontend. What is the easy way to do. Are there any similar work?

 

And if i give the access token to the people who login to the app is it ok?

  • Greg-DB's avatar
    Greg-DB
    2 years ago

    I can't offer help with React itself, as that's not made by Dropbox, so I suggest referring to the React documentation/support resources for help with that.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    If you're using Node.js and need to interact with the Dropbox API, we recommend using the official Dropbox API v2 JavaScript SDK, which supports Node.js. You can find sample code for that here.

     

    Note though that you should not be sharing access tokens with other users. The API was designed with the intention that each user would link their own Dropbox account, receiving their own access token(s), in order to interact with their own files. While it is technically possible to share an access token and always connect to just one account for all users, we do not officially support this, for various technical and security reasons.

    • Tshaniii's avatar
      Tshaniii
      Helpful | Level 5

      Thank you Greg!.  May I know how i can enable a user who logs in to the web application (nodejs app) using their email, at the same time get an access token for their email. Or continue woking in the nodejs app with files using the email address.