Sherbieny / aws_s3_filemanager

A Nodejs application for AWS S3 file manager with sorting capabilities
0 stars 0 forks source link

Minio Project #1

Open kclinsd opened 1 month ago

kclinsd commented 1 month ago

To be able to use it with Minio, what things need to be changed?

Sherbieny commented 1 month ago

I am not familiar with Minio frankly but a quick look at their docs shows that it is a SDK for working with S3 compatible object server, so you will probably needs to:

  1. import minio library with npm
  2. create a new controller (based on the existing controller) that will take the same data from client side and communicate with Minio instead of S3
  3. match the existing API endpoints to the new controller
  4. Create a new S3 Service (maybe Minio Service) that will talk with minio like the S3Service class does talk with AWS S3

let me know if you other questions