Simple NodeJs app to upload files locally to the server
This Node.js project is designed to facilitate the easy upload of files, especially images, using the popular 'express-fileupload' package. The inspiration for this project comes from the efficient and practical approach advocated by Dave Gray.
- File Upload: Easily upload files, with a focus on images, to the server.
- Local Storage: Save the uploaded files locally on the server.
- express-fileupload Integration: Leverage the 'express-fileupload' package for simplified file handling.
Before running the project, ensure you have the following installed:
- Node.js
- npm (Node Package Manager)
- Clone the repository:
git clone https://github.com/AElgamal5/nodeJS-file-upload.git
- Navigate to the project directory:
cd nodeJS-file-upload
- Install dependencies:
npm i
- Run the application:
npm run dev
- or
node index.js
- Open your web browser and go to http://localhost:3000/files to access the application.