singhcool / s3-upload-node-js

Upload file to S3 or Minio Storage using Node Js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S3 and Minio Upload API

NPM version NPM version NPM version

Description

Upload your file to S3 and Minio Storage with Cluster

Features

  • upload any format to s3 or minio storage using node js
  • upload large size file using s3 multipart upload

Usage

You can change the storage setting in .env using below

For Minio Storage

FILE_UPLOAD_SERVICE = minio

For AWS S3 Storage

FILE_UPLOAD_SERVICE = s3

Update the AWS key and Secret key in .env

POST API http://localhost:8090/s3_upload/file with formdata key s3_file

Installation

Node Installation

sudo apt install nodejs sudo apt install npm

Start app

npm start

Stay in touch

About

Upload file to S3 or Minio Storage using Node Js


Languages

Language:JavaScript 100.0%