Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
```