GithubHelp home page GithubHelp logo

whzxxyf / springbootminio Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rapter1990/springbootminio

0.0 0.0 0.0 1.92 MB

Spring Boot with the usage of Minio running on Docker , AOP and Exception Handling

Java 100.00%

springbootminio's Introduction

Spring Boot Minio

Main Information

๐Ÿ“– Information

  • MinIO is the only object storage suite available on every public cloud with supporting high-performance.
  • It is API compatible with Amazon S3 cloud storage service
  • It can handle unstructured data such as photos, videos, log files, backups, and container images with (currently) the maximum supported object size of 5TB.
  • Here is the explanation of the project
    • Implement the process of uploading file to Minio
    • Implement the process of downloading file from Minio
    • Implement the process of adding bucketname to Minio
    • Implement the process of listing all file from bucketname in Minio
    • Implement the process of listing all bucketnames in Minio
    • Implement the process of deleting bucketname from Minio
    • Implement the process of deleting file list from bucketname from Minio
    • Implement the process of deleting file from bucketname from Minio

๐Ÿ”จ Run the App

1 ) Install Docker Desktop. Here is the installation link : https://docs.docker.com/docker-for-windows/install/

2 ) Open Terminal under resources folder to run Minio on Docker Container

    docker-compose up -d

3 ) Open Minio in the Browser

    127.0.0.1:9001

4 ) Enter username and password

    username : minioadmin
    password : minioadmin

5 ) Explore Rest APIs

Method Url Description Valid Request Body Valid Request Params
POST /upload Upload file to Minio Info
POST /addBucket/{bucketName} Add BucketName in Minio Info
GET /show/{bucketName} Show defined Bucketname by its name in Minio Info
GET /showBucketName Show all BucketNames in Minio Info
DELETE /removeBucket/{bucketName} Delete defined bucketname from Minio Info
DELETE /removeObject/{bucketName}/{objectName} Delete defined object in defined bucketname from Minio Info
DELETE /removeListObject/{bucketName} Remove object list in defined bucketname from Minio Info
GET /showListObjectNameAndDownloadUrl/{bucketName} List object names and its download url in defined bucketname of Minio Info
GET /download/{bucketName}/{objectName} Download object in BucketName from Minio Info

Used Dependencies

  • Spring Boot Web
  • Minio
  • Lombok
  • AspectJ
  • Apache Commons Lang
  • Swagger

Swagger

Access : http://localhost:8085/swagger-ui.html

Valid Request Body

    file : Uploaded File
    bucketname : commons
   [
       "de43ab54e89f4879a2baf87df1570f56.PNG",
       "f107737d21534f42a72dcf009a64a07d.PNG"
   ]

Valid Request Params

   http://localhost:8085/minio/addBucket/test1
   http://localhost:8085/minio/show/commons
   http://localhost:8085/minio/showBucketName
   http://localhost:8085/minio/removeBucket/test1
   http://localhost:8085/minio/removeBucket/test1
   http://localhost:8085/minio/download/commons/ad94ff2e9b404772a1f9b98f4e11b4f9.PNG
   http://localhost:8085/minio/removeObject/commons/a2d203e188f94ccb8393e688deaf216a.jpg

Screenshots

Click here to show the screenshots of project

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Figure 13

Figure 14

Figure 15

Figure 16

Figure 17

Figure 18

Figure 19

Figure 20

springbootminio's People

Contributors

rapter1990 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.