Skip to content

cloudinary-devs/angular-photo-album

Repository files navigation

Introduction

This project demonstrates how to use the Cloudinary Angular SDK to create a photo album app.

The sample project showcases the following functionality:

Setup

Create an unsigned upload preset in your Cloudinary product environment and make a note of the name of the unsigned upload preset as well as your Cloudinary cloud name.

Create /src/environments/environment.ts with the following content:

export const environment = {
  CLOUD_NAME: "YOUR-CLOUD-NAME",
  UPLOAD_PRESET: "YOUR-UNSIGNED-UPLOAD-PRESET",
};

Run

From your terminal, in the root folder of your project, run:

  • npm i
  • (npx) ng serve or (npx) ng build

Then, click the localhost link to open the app in your browser, or open a browser and navigate to localhost:4200 or to the port displayed in the terminal.

Try uploading images using each of the upload tabs, then see your images displayed in the Photo Album tab.

Explore

Feel free to fork this repo as a starting point for your own Angular app, contribute to it, or star it if you like it!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •