This is a simple Node.js file uploader project with Express and Multer. It allows you to upload files to the server and view the uploaded files.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- Node.js
- npm
A step by step series of examples that tell you how to get a development environment running:
- Clone the repo
git clone https://github.com/EsraaSyam/File-Uploader.git
- Install NPM packages
npm install
Here's how you can use it:
-
Start the server: Run
npm start
in the project directory to start the server. -
Access the uploader: Open your web browser and navigate to
http://localhost:3000
(or whatever port you've configured) to access the file uploader. -
Upload a file: Click the "Choose File" button to select a file from your system. Once you've selected a file, click the "Upload" button to upload the file to the server.
-
View uploaded files: After uploading, you can view the uploaded files in the specified directory in your project.
Remember, this is a basic file uploader. It doesn't include features like user authentication or file type restrictions. Be careful when deploying it in a production environment.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
and if you have any questions, please feel free to contact me.