Skip to content

Node.js & Express REST API for file uploads with Multer middleware. Includes validation, error handling, and optional integration with AWS S3/Cloudinary for cloud storage.

License

Notifications You must be signed in to change notification settings

adsoftwareeng/upload-file-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📂 Upload File in Node.js

A simple Node.js + Express application for handling file uploads using Multer. This project demonstrates how to upload files (images, PDFs, documents, etc.) to a server and serve them back dynamically.


✨ Features

  • Upload single or multiple files
  • Store files locally in /uploads folder
  • Easy integration with frontend forms
  • Supports images, PDFs, and other file types
  • Example API endpoint with POST /upload

🛠️ Tech Stack

  • Node.js
  • Express.js
  • Multer (for file uploads)
  • JavaScript / REST API

📥 Installation

Clone the repository:

git clone https://github.com/adsoftwareeng/upload-file-nodejs.git
cd upload-file-nodejs
npm install
npm start

Endpoints:

POST /upload → Single or Multiple files (field name: file)

License

This project is licensed under the MIT License.

About

Node.js & Express REST API for file uploads with Multer middleware. Includes validation, error handling, and optional integration with AWS S3/Cloudinary for cloud storage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published