Set up the Photo Album Sample project
masterThe Photo Album sample is a simple application for uploading images and displaying them in a list. It utilizes the jugglingdb ORM for data management.
To run this sample:
- Configure your Cloudinary credentials by copying the environment variable configuration parameters from your Cloudinary Management Console into a
.envfile in the project directory, or by exporting theCLOUDINARY_URLvariable (e.g.,export CLOUDINARY_URL=xxx). - Install dependencies using
npm install. - Start the server using
npm start. For a development mode server with automatic reloading, usenpm run dev. - Access the application in your browser at
http://localhost:9000.
# Configuration
export CLOUDINARY_URL=cloudinary://api_key:api_secret@cloud_name
# Installation
npm install
# Run in production mode
npm start
# OR run in development mode (auto-reload)
npm run dev