Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

95
Views
Storing files in a mern stack application

I am building a web MERN stack application and wanted to know how to store files in MERN stack.By files I mean, .txt, .docx or images and videos. For images and videos I can use cloudinary, but I could not find any good hosting service for text and word files. I am asking users to either upload an image, a text( or word) file or a video, and I would like to hit the same endpoint in any of the cases to upload the files although hitting the same endpoint isn't a necessity, if there is some cloud service for text and word files which doesn't support media files, I can have 2 different endpoints to upload files to. I just want to know how and where can I upload text and word files I am using Mongodb Atlas.

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Since you implemented Mongodb in your stack, why not saving files directly in Mongodb? Check GridFs Form files larger than 16mb: https://docs.mongodb.com/manual/core/gridfs/

about 4 years ago · Juan Pablo Isaza Report

0

You can use a third party service like AWS S3, you can install de AWS SDK on your node project and then you can use multer to upload files as buffer data end send it to your AWS S3 bucket with the SDK, the same aplies to other services like Firebase Firestorage and then you can save the returnerd url in your DB document.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!