# egg-fileServer **Repository Path**: liuyrs/egg-file-server ## Basic Information - **Project Name**: egg-fileServer - **Description**: egg框架的文件上传服务器,返回文件上传后的地址。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-08-04 - **Last Updated**: 2023-12-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 在 http://127.0.0.1:7002 地址可访问项目。 访问 http://127.0.0.1:7002/swagger-ui.html 地址可访问swagger。 访问 http://127.0.0.1:7002/UploadControlle/upload 地址可上传图片。 如要部署到云服务器上,注意修改项目内app/controller/upload.js中接口返回的ip地址和端口号。 # file file server ## QuickStart see [egg docs][egg] for more detail. ### Development ```bash $ npm i $ npm run dev $ open http://localhost:7002/ ``` ### Deploy ```bash $ 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](https://www.npmjs.com/package/autod) for more detail. [egg]: https://eggjs.org