There are several endpoints that can be used, including:
$ POST /upload * endpoint for upload file
$ GET /download/:filename * endpoint for get file (if configuration cloud set private)
$ DELETE /delete/:filename * endpoint for remove file
- Golang v1.17 - https://go.dev/
- Gin - https://gin-gonic.com/
- Minio - https://min.io/
Clone the project:
$ git clone https://github.com/ayocodingit/storage-minio-service.git
$ cd storage-minio-service
$ cp .env.example .env
$ go run src/cmd/main.go
$ docker build -f docker/Dockerfile -t storage-minio-service:<VERSION> .