-
cloud_storage 🌥️ is a cloud storage platform like Google Drive but built with edgeStore. Perfect for storing all your important stuff online! 🚀
-
You only get 150 mb of free storage , for more you need to upgrade
-
It is built on edgestore.It help me to upload multiple files
Cloud.storage.demo.mp4
![Screenshot 2024-02-21 at 5 05 17 PM](https://private-user-images.githubusercontent.com/122007096/306607528-4628dc34-ec6a-4f6b-a7f5-268a7e159dce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ1NjQ5OTEsIm5iZiI6MTczNDU2NDY5MSwicGF0aCI6Ii8xMjIwMDcwOTYvMzA2NjA3NTI4LTQ2MjhkYzM0LWVjNmEtNGY2Yi1hN2Y1LTI2OGE3ZTE1OWRjZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIxOFQyMzMxMzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03NmY5NzViZTE1ZTlhZTUwMTkzYzFmYmMwOWI1ODViNzgwZGE1M2ZiOTBmZGRjYThmNGQ5MjhlMzJjM2Y0ODY3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.-B6m0pZkE4kFix9ywbCBon8QqDKfivUz8pcXC5XMPFY)
- First question is Why didn't i use S3, the reason is simple that i have used s3 bucket in my past projects and i want to use edgestore, that's it.
- If i want to create it using AWS S3, I could make it easily, How?
- Take multiple files from the user using react dropZone.
- Then upload all these files using S3 client.
var s3 = new AWS.S3({apiVersion: '2006-03-01', region: 'us-west-2'}); var params = { Bucket: 'bucket', Key: 'example2.txt', Body: 'Uploaded text using the promise-based method!' }; var putObjectPromise = s3.putObject(params).promise();
- Uploading all files one by one might took lot of it so we could use
Promsie.all()
or some external library likep concurrency
to upload multiple filesvar putAllObject = Promise.all(promsie1 , promise2 , promise3)
- Add file url in database