Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/matdombrock/node_uploads

A simple example of file uploads in node.
https://github.com/matdombrock/node_uploads

Last synced: 7 days ago
JSON representation

A simple example of file uploads in node.

Awesome Lists containing this project

README

        

A simple example of how to handle file uploads with NodeJS + Formidable.

To run, just change the path on line 8 of ```app.js``` to match that path of the ```uploads``` directory in this repo and do:
```
node app.js
```
Then navigate your browser to ```localhost:1337``` and you will be able to upload a file.

NOTE: This is a "fixed" version of the code found [here](https://www.w3schools.com/nodejs/nodejs_uploadfiles.asp) and is only reproduced here for my reference.