Skip to content

Demoing the functionality of Dropbox Chooser and the File and Folder Embed

Notifications You must be signed in to change notification settings

TaylorKrusen/DBX_component_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Demoing the functionality of Dropbox Chooser and the File and Folder Embed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published