Skip to content

ahmadaidil/koa-tus-minio-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Upload file server with koa, tus and minio store

before running the server:

  • rename .env-template file to .env
  • fill it (.env) variable with your configuration. eg:
SERVER_PORT="3000"
MINIO_BUCKET="node-s3"
MINIO_ACCESS_KEY_ID="CLQ9PV3UJ3BXWGXA2EX4"
MINIO_SECRET_ACCESS_KEY="OS4AN6zry9xid2L68mN7NkBn/JmVlWcI5F9Ja1Zf"
MINIO_ENDPOINT="http://127.0.0.1:9000"
SIGNATURE_VERSION="v2"
  • install dependencies:
$ npm i

or optional but recommended, use

$ yarn

running the server

$ npm start

or running the server with the hot reload module

$ npm run start:hot

with yarn

$ yarn start
$ yarn start:hot

© 2018 Ahmad Aidil

About

Upload file server with koa, tus and minio store

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published