This example shows how to upload files to Cloudinary with an HTML Form in Astro. No client-side Javascript needed!
It's based on the [Build HTML Forms in Astro Pages recipe from the Astro docs.
-
Copy
.env.example, rename it.env, and fill out the needed environment variables. -
Install the project dependencies with:
yarn install
# or
npm install
- Start the development server with:
yarn dev
# or
npm run dev
- Visit the project at http://127.0.0.1:4321/!