Skip to content

qingstor-incubating/qingstor-sdk-js-demo

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published