https://github.com/cloudinary-devs/cld-form-unsigned-upload
An example showing how to use an unsigned upload preset to upload multiple files to Cloudinary using a form.
https://github.com/cloudinary-devs/cld-form-unsigned-upload
Last synced: 17 days ago
JSON representation
An example showing how to use an unsigned upload preset to upload multiple files to Cloudinary using a form.
- Host: GitHub
- URL: https://github.com/cloudinary-devs/cld-form-unsigned-upload
- Owner: cloudinary-devs
- License: mit
- Created: 2021-12-02T10:17:00.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-16T11:31:54.000Z (over 2 years ago)
- Last Synced: 2025-01-25T16:32:07.853Z (over 1 year ago)
- Language: JavaScript
- Size: 164 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# cld-form-unsigned-upload
An example showing how to use an unsigned upload preset to upload multiple files to Cloudinary using a form.
Note, for security reasons, the upload preset used in this example sets the [access control mode](https://cloudinary.com/documentation/control_access_to_media#access_controlled_media_assets) of the uploaded assets to restricted, so the URLs returned in the response will return 404 errors.
## Installation
Ensure you have a recent version of [node & npm](https://nodejs.org/en/download/) or [yarn](https://yarnpkg.com/en/docs/install) installed.
All of the following steps run on the command line within this directory. You can substitute `npm` for `yarn` depending on your preferences.
Install all the necessary packages:
```
npm install
```
## Build
To build for distribution:
```
npm run build
```
All of the final output will be dropped into the [/dist/](./dist) folder.
## Server
Run a local server that will automatically compile your code & refresh when you save a change!
```
npm run serve
```