https://github.com/du-disk/nodejs-uploadfile
Nodejs Upload file with #multer
https://github.com/du-disk/nodejs-uploadfile
javascript multer nodejs upload-file
Last synced: 25 days ago
JSON representation
Nodejs Upload file with #multer
- Host: GitHub
- URL: https://github.com/du-disk/nodejs-uploadfile
- Owner: du-disk
- Created: 2021-06-29T15:55:12.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-27T09:52:54.000Z (almost 5 years ago)
- Last Synced: 2025-02-25T09:24:39.991Z (over 1 year ago)
- Topics: javascript, multer, nodejs, upload-file
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NODEJS UPLOAD FILE
nodejs script to upload file as web service (API) with multer
---
## Requirements
For development, you will only need Node.js and a node global package, Yarn, installed in your environement.
### Node
- #### Node installation on Windows
Just go on [official Node.js website](https://nodejs.org/) and download the installer.
Also, be sure to have `git` available in your PATH, `npm` might need it (You can find git [here](https://git-scm.com/)).
- #### Node installation on Ubuntu
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs
$ sudo apt install npm
- #### Other Operating Systems
You can find more information about the installation on the [official Node.js website](https://nodejs.org/) and the [official NPM website](https://npmjs.org/).
If the installation was successful, you should be able to run the following command.
$ node --version
v10.24.1
$ npm --version
6.14.22
If you need to update `npm`, you can make it using `npm`! Cool right? After running the following command, just open again the command line and be happy.
$ npm install npm -g
###
### NPM installation
After installing node, this project will need yarn too, so just run the following command.
$ npm install -g npm
---
## Installation Guide
$ git clone https://github.com/du-disk/nodejs-uploadfile
$ cd nodejs-uploadfile
$ npm install
## Configure app
Open `./.env-dev` then rename file with .env and edit it with your settings
## Running the project
run as development :
$ npm start