Skip to content

soakit/egg_upload

Repository files navigation

egg_upload

A upload service build by eggjs.

QuickStart

config/config.default.js

secPath                   设置可上传的上级路径
multipart
    |-- fileExtensions    设置可上传的文件后缀

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open http://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

About

A upload service build by eggjs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published