Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yi-tseng/node-file-upload-example
Node file upload example
https://github.com/yi-tseng/node-file-upload-example
Last synced: 19 days ago
JSON representation
Node file upload example
- Host: GitHub
- URL: https://github.com/yi-tseng/node-file-upload-example
- Owner: Yi-Tseng
- Created: 2016-01-05T20:24:19.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-10T09:42:00.000Z (almost 9 years ago)
- Last Synced: 2024-10-15T09:50:50.192Z (2 months ago)
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node file upload example
#### Environment:
- Node.js 4.2
- Mongo DB
- browserify#### Backend:
- Express
- Mongo DB#### Frontend:
- React
- jQuery#### Install:
Install babel
``` shell
$ npm install -g babel-cli babel-preset-react
```Install dependencies:
``` shell
$ npm install
```Build bundle.js for front-end
``` shell
$ npm run-script ui
```or use
``` shell
$ browserify ui/files.js -o public/javascripts/bundle.js -t [ babelify --presets [ es2015 react ] ]
```#### Start server:
``` shell
$ npm start
```