An open API service indexing awesome lists of open source software.

https://github.com/musabdev/nodejs_fileupload

This is a node js file uploader built with multer and mongoose. In this uploader you can upload files and also you can protect the file with a password and we always hash the password with the help of bcrypt.
https://github.com/musabdev/nodejs_fileupload

Last synced: 6 months ago
JSON representation

This is a node js file uploader built with multer and mongoose. In this uploader you can upload files and also you can protect the file with a password and we always hash the password with the help of bcrypt.

Awesome Lists containing this project

README

          

# Node JS File Uploader

This is a node js file uploader built with multer and mongoose. In this uploader you can upload files and also you can protect the file with a password and we always hash the password with the help of bcrypt.

## Demo

![Demo](https://i.ibb.co/wRP6njd/demo.gif)

## Deployment

### Environment Variables

To run this project, you will need to add the following environment variables to your .env file

`MONGO_URI` - is contains your MongoDB Atlas connection link

`PORT` - your server port

### To run this project

Installing node_modules
```bash
npm install
```

Running server
```bash
npm run dev
```