Code Monkey home page Code Monkey logo

minio-multipart's Introduction

介绍

springboot集成minio实现了分片上传功能

vue版本的:前端 后端

快速开始

后端

修改配置文件application.yml:

minio:
  endpoint: 
  accessKey: 
  secretKey: 
  bucketName: 
  downloadUri: #配置下载的ip和端口
  path: #如果生产环境配置nginx域名解析,这里可以配置分片上传的ip和端口或者域名

前端页面

修改frontend/js/upload.js:

'http://127.0.0.1:8080/file/multipart/create'

'http://127.0.0.1:8080/file/multipart/complete'

改为你的后端地址即可

使用

在系统文件下打开frontend/upload.html运行,选择大于5m的文件上传。

minio-multipart's People

Contributors

winterchens avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.