-
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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNzk5MzEsIm5iZiI6MTcyNjA3OTYzMSwicGF0aCI6Ii8xMjIwMDcwOTYvMzA2NjA3NTI4LTQ2MjhkYzM0LWVjNmEtNGY2Yi1hN2Y1LTI2OGE3ZTE1OWRjZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMVQxODMzNTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xMGEzMTZiZGVmNDU0NWI5MTcyZTE1ZjIxMmRlMzY4NmU4ZTFhMmU0Mzg5ZDRkNTA2OGM5MGU5ZGVmMmE0ZTNjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.oLYkNn82oaRE_X4-ICTZlRejQ3uG-nqC17H6E6bzHuI)
- 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