Dropbox Uploader is simple rest service to upload files into dropbox.
Dropbox Uploader uses a number of open source projects to work properly:
- Spring Framework - The Spring Framework is a lightweight solution and a potential one-stop-shop for building your enterprise-ready applications.
- Dropbox SDK - The SDK wrap the raw HTTP calls to the Dropbox API.
- Dropzone JS - DropzoneJS is an open source library that provides drag'n'drop file uploads with image previews.
You should create a new Application in Dropbox App Console and update the application.properties with your App key and App Secret.
- Clone this project
git clone https://github.com/adaofeliz/dropbox-uploader.git dropbox-uploader
- Update App Properties file with your Application Details.
vi dropbox-uploader/dropbox-uploader-service/src/main/resources/application.properties
- Start Up the Application
cd dropbox-uploader
mvn clean install
cd dropbox-uploader-service/
mvn tomcat7:run
- Now open your browser: http://localhost:8080/
- You should allow your dropbox access using: http://localhost:8080/dropbox/allow
- Your access token will be stored in your browser session cookies.
MIT