Next.js 13 Full Stack E-commerce App #17 | Setup Multer & Cloudinary for Images

preview_player
Показать описание
Git Repo Link:

================================================================

⚙️ Gadgets I use for Recording:

💻 Laptop - Macbook PRO M1 - 16/512

🎤 MIC - Samson Technologies Q2U USB/XLR Dynamic Microphone

🖱️Mouse - Logitech G402 Gaming Mouse Hyperion Fury USB, Black

⌨️ Keyboard - Logitech K380 Multi-Device Bluetooth Keyboard

🖥️ Monitor - UltraSharp 24-Inch Screen Led-Lit Monitor (U2419H)

================================================================

Multer is a middleware used for handling multipart/form-data, which is primarily used for uploading files. We'll be using it to upload images to our server. Cloudinary, on the other hand, is a cloud-based image and video management service that we'll use to store and manage the images we upload.

We'll start by installing and configuring Multer to handle image uploads, including setting up the directory where images will be stored on our server. Then, we'll move on to configuring Cloudinary by creating an account, generating an API key, and installing the required dependencies. Finally, we'll integrate Multer with Cloudinary to upload images directly to the cloud and retrieve them from there whenever we need them.

Whether you're building an e-commerce app or just want to learn more about working with image uploads and cloud-based storage, this video is sure to be an informative and practical guide. So sit back, relax, and let's get started!
Рекомендации по теме
Комментарии
Автор

But where you even used the multer file...???
Its supposed to be in the routes but I cant find it..?

zia-ul
Автор

Gracias por compartir tu conocimiento, saludos desde México.

LUISRANGEL-dqhk
Автор

Hi!, is this working on Vercel deploy?, I'm doing a project where I'm uploading images in a admin dashboard, now I'm having some problems when trying to upload an image to cloudinary on my deployed project, something about multipart form data. I have no problem in local, so I was wonder if your approach would help, In case it does I would do it your way, this is taking me a lot of time to resolve till now!!!

criptoflashes
Автор

Hello sir, why we are first uploading the file to local public folder instead of direct uploading an image to cloudinary? Plz reply ASAP... @Coding With Abbas

aamirrashid
Автор

how much time it will take to complete

bipinsingh