Join Joseph LeBlanc for an in-depth discussion in this video Accessing publicly, part of Up and Running with Cloud Storage APIs.
- View Offline
- Exercise Files
Once an application is authenticated with a Dropbox API, it has access to all of the…files int he Applications folder. However there are some instances when it's…best to serve the dropbox files directly to the browser.…Let's go to the exercise files. Go to chapter 4, video 6, start and then…copy the App folder into the Server folder.…Now, I'm going to go to terminal and start the server.…Change directory to desktop, server, and then type node index.js, then press return.…
Now, let's load the application in the server.…Go to localhost at port 3000. I'm going to click Allow to allow the application.…Now, let's click on one of these photos. It's currently pulling up the full size photo.…This photo is being loaded through my local host web server.…Lets have a look at how it's doing this. Go to App in index.js.…On line 59 the route is calling the client.get method.…The get method simply gets the file from the Dropbox API.…
This method calls a callback function. This callback function has three arguments.…The status, the reply, which is the file itself, and then the metadata.…
- Why use cloud storage?
- Granting access to Amazon S3 buckets
- Displaying bucket contents
- Downloading files immediately
- Creating a Dropbox application
- Finding, downloading, and uploading files
Skill Level Beginner
1. Cloud Storage Overview
2. Accessing Amazon S3 Buckets via REST
3. Other Container-Based Services
4. Creating Dropbox Apps
5. Other App-Driven Services
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.