# npm-sample **Repository Path**: xsthunder/npm-sample ## Basic Information - **Project Name**: npm-sample - **Description**: simple instance of express, angular ans angular-material. share your files on a website - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-10-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #
web-file-sharing(npm-sample) * simple instance of express, angular ans angular-material. manage your files and preview text. ## install envirment 1. install [git](https://git-scm.com/) 2. install [nodejs](http://nodejs.cn/) ## install and run this sample ### run following command in bash ```bash git clone https://gitee.com/xsthunder/npm-sample cd npm-sample npm install #install dependencies ``` see cnpm in [references](#references) if `npm install` failed ### run sample 1. following command in bash ```bash npm test # note that you need swift to sample's directory ``` 2. open tradition version in broswer [http://127.0.0.1:8888/](http://127.0.0.1/index-t.html) 3. open material version in broswer [http://127.0.0.1:8888/index-m.html](http://127.0.0.1:8888/index.html) 4. check your ip, port or firewall ## software required 1. nodejs version >= 8.0 2. mordern browser(firefox quantum suggested) 3. git ## developing kit 1. vim 2. notepad++ ## suggested kit 1. webstorm 2. postman ## dependencies see package.json ## references 1. [cnpm](http://npm.taobao.org/) 2. [npmjs](http://npmjs.com/) 3. [expressjs](http://www.expressjs.com.cn/) 4. [angular](https://angularjs.org/) 6. [angular tutorial for beginner in Chinese](http://www.runoob.com/angularjs/angularjs-tutorial.html) 5. [angular-material](https://material.angularjs.org/latest/) ## future 1. add upload fuction, how? see [material-ui-upload](https://www.npmjs.com/package/material-ui-upload) 2. preview video and pictures