Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/matdombrock/node_uploads
- Owner: matdombrock
- Created: 2019-03-26T22:55:58.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T23:04:50.000Z (almost 6 years ago)
- Last Synced: 2024-11-07T04:44:34.169Z (about 2 months ago)
- Language: JavaScript
- Size: 1.23 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.