Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 977 Bytes

README.md

File metadata and controls

53 lines (37 loc) · 977 Bytes

QingStor SDK JS Demo

Uasge

Clone this repo

git clone

Setup signature server

cd signature_server
npm install
# Update server config into valid value
cp server_config.yaml.example server_config.yaml
npm run server

Now, we have a signature server locally.

Use sdk on browser

cd web_with_signature_server
# Update config.js into valid value
cp config.js.example config.js

Visit index.html and open devtools to read logs.

Use sdk to do multipart upload on browser

cd web_multipart_with_signature_server
# Update config.js into valid value
cp config.js.example config.js

Visit index.html and open devtools to read logs.

Use sdk to do multipart resume upload on browser

cd web_multipart_with_signature_server
# Update config.js into valid value
cp config.js.example config.js

Visit index.html and open devtools to read logs.

This demo will resume the uploads for same filename.