Question

How to save a image from Node to DigitalOcean spaces?

How cani save a image from Node to DigitalOcean spaces and getting spaces image url as response and storing that url in mongodb


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

Here is a link to a step by step tutorial on how to upload files to the DigitalOcean Spaces with Node.js:

https://www.digitalocean.com/community/tutorials/how-to-upload-a-file-to-object-storage-with-node-js

I could suggest following the steps listed there as it is quite detailed.

Let me know if you have any questions. Regards, Bobby