- Create an environment variable file
.envand inside add:
CLOUDINARY_CLOUD_NAME="<Your Cloud Name>"
CLOUDINARY_API_KEY="<Your API Key>"
CLOUDINARY_API_SECRET="<Your API Secret>"
- Install the project dependencies with:
composer install
- Run the node script with:
node <filename>
For example, inside the examples/node-social-media-card directory:
node social-media-card.js
The script will run in your terminal and you'll see the URL results logged.