Skip to content

Latest commit

 

History

History

samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Cloudinary Node Sample Projects

Basic sample

The basic sample uploads local and remote image to Cloudinary and generates URLs for applying various image transformations on the uploaded files.

Setting up

  1. Before running the sample, copy the Environment variable configuration parameters from Cloudinary's Management Console of your account into .env file of the project or export it (i.e. export CLOUDINARY_URL=xxx).
  2. Run npm install in project directory to bring all the required modules.
  3. Run the sample using node basic.js.

Photo Album sample

Simple application for uploading images and displaying them in a list.
This sample uses jugglingdb orm. See schema.js for adapter configuration.

Setting up

  1. Before running the sample, copy the Environment variable configuration parameters from Cloudinary's Management Console of your account into .env file of the project or export it (i.e. export CLOUDINARY_URL=xxx).
  2. In the project directory, run npm install to install all the required dependencies.
  3. Run npm start to start the server , if you want to run a development mode server (autoreload) run node run-script debug.
  4. Open the sample page in a browser: http://localhost:9000

Additional resources