This repo is for my blog Uploading files with React.js and Node.js. Many people found my code examples to be confusing, so I created this repo to demo how everything comes together.
I didn't add redux in this one, but if you want it - let me know.
Example with Next.js to simplify the setup. Same can be applied to any React+Node app. If you don't have the cloudinary account, use this link (affiliate) to signup for free or just go to cloudinary.com
How to run:
- Clone the repo and
cd
into the directory npm install
npm run dev
to start it locally- Add you cloudinary API keys in server.js file
- open
http://localshost:3000
- upload any file, this example expects image file type