Installing dependencies

For handling file uploads, we are going to use a module named multer (https://www.npmjs.com/package/multer), and for managing file uploads to Cloudinary, we are going to use an npm named Cloudinary (https://www.npmjs.com/package/cloudinary). We are also going to use an npm named request (https://www.npmjs.com/package/request) for making HTTP calls from Node.js. Run the following command from the root of the application:

$ npm install --save cloudinary multer request

Or, you can run the following command instead:

$ yarn add cloudinary multer request

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.