🚀 Built My Own File Upload Microservice Using Node.js + Cloudinary ☁️ I’ve been working on a reusable backend microservice that handles all file uploads and deletions across my projects. Instead of repeating file-handling logic in every backend, I decided to build a standalone service that can be plugged into any application. Here’s what it does 👇 ✅ Receives files from any backend (via REST API) ✅ Uploads them securely to Cloudinary ✅ Returns a public URL and file ID ✅ Supports file deletion with CDN cache invalidation ✅ Built with clean MVC architecture and Express.js 📁 Tech Stack: Node.js + Express Cloudinary SDK Multer (for handling multipart form data) dotenv (for environment configuration) 💡 Why this matters: This microservice now serves as a central file management system for all my projects — improving scalability, maintainability, and security. I also handled a tricky issue where deleted files were still accessible due to CDN caching — solved it using Cloudinary’s invalidate: true flag 💪 Next steps 🔜 → Adding API authentication → Optional storage support for AWS S3 or Firebase Storage Check it out here 👇 https://lnkd.in/gMyUw7W6 #Nodejs #BackendDevelopment #Microservices #Cloudinary #Expressjs #WebDevelopment #FileUpload #DevProjects #LearningInPublic

To view or add a comment, sign in

Explore content categories