#How to move photo to public folder with react after upload the photo using upload input?

3 messages · Page 1 of 1 (latest)

warm drift
#

I'm working on a dashboard project with the
CRUD system on a JSON placeholder fake API server, while the user creates a product with a photo I need to move any selected photo after uploading it to the public folder then using upload input and then export its path to JSON file API.

brave root
#

The way to do this is through a CDN / using AWS S3, CloudFlare R2, Cloudinary etc.