Skip to content

Latest commit

 

History

History
19 lines (18 loc) · 823 Bytes

README.md

File metadata and controls

19 lines (18 loc) · 823 Bytes

Unofficial Dropbox Component Demo app

There are a few steps needed to run the app.

  1. Create a new Dropbox app (or go to an existing one) and copy the "App key"
  2. Add your app key and copy following snippet into the <head> tag of your index.html file:
<script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="your_app_key"></script>
  1. In your app settings page, add "localhost" to the Chooser/Saver domain whitelist
  2. Go to your app settings page and copy the access token
  3. Create a new file named "config.json" and add your access token (please do something safer in production):
{
    "DROPBOX_ACCESS_TOKEN": "your_access_token"
}
  1. Install node modules npm install
  2. Run server with node server
  3. Go to https://localhost:8000