{"id":18730021,"url":"https://github.com/appgalleryconnect/agc-cloudstorage-server-nodejs-codelab","last_synced_at":"2025-11-12T08:30:17.778Z","repository":{"id":153844377,"uuid":"313573775","full_name":"AppGalleryConnect/agc-cloudstorage-server-nodejs-codelab","owner":"AppGalleryConnect","description":"Cloud Storage is scalable and maintenance-free. It allows you to store high volumes of data such as images, audios, and videos generated by your users securely and economically with direct device access.","archived":false,"fork":false,"pushed_at":"2020-12-04T09:49:23.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-28T14:42:23.518Z","etag":null,"topics":["cloud-storage","javascript","server"],"latest_commit_sha":null,"homepage":"https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-cloudstorage-introduction","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AppGalleryConnect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-17T09:47:27.000Z","updated_at":"2020-12-26T07:44:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9d8b3a0-b9ae-4b5d-a483-a82979a266c7","html_url":"https://github.com/AppGalleryConnect/agc-cloudstorage-server-nodejs-codelab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppGalleryConnect%2Fagc-cloudstorage-server-nodejs-codelab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppGalleryConnect%2Fagc-cloudstorage-server-nodejs-codelab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppGalleryConnect%2Fagc-cloudstorage-server-nodejs-codelab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AppGalleryConnect%2Fagc-cloudstorage-server-nodejs-codelab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AppGalleryConnect","download_url":"https://codeload.github.com/AppGalleryConnect/agc-cloudstorage-server-nodejs-codelab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239599037,"owners_count":19665911,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-storage","javascript","server"],"created_at":"2024-11-07T14:33:24.024Z","updated_at":"2025-11-12T08:30:17.731Z","avatar_url":"https://github.com/AppGalleryConnect.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NearbyMessageDemo-AGCCloudStorageAndroidSDK\n## Contents\n * [Introduction](#introduction)\n * [Supported Environments](#supported-environments)\n * [Procedure](#procedure)\n\n## Introduction\nThis demo demonstrates an example of using the SDK to store pictures, videos, audio, or other user-generated files. For details about the SDK, please refer to https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/agc-get-started.\n\nGetting Started\nFor more development details, please refer to the following link:\nDevelopment Guide: https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-Guides/agc-get-started\nAPI References: https://developer.huawei.com/consumer/cn/doc/development/AppGallery-connect-References/cloudstroage\n\n## Procedure\n1. Activate cloud storage service: The cloud storage service is not activated by default. You need to manually activate the cloud storage service in AGC.\n\n2. New storage instance: After opening the cloud storage service, AGC will automatically create a default storage instance. If you want to store application system data and user data separately, you can create a new storage instance yourself.\n\n3. Integrated SDK: If you need to use cloud storage-related functions in the application client, you must integrate the cloud storage client SDK.\n\n4. Initialize the cloud storage: Before the application client uses the cloud storage, you need to initialize the cloud storage and specify the storage instance used by the client.\n\n5. File management: The application client can call the API of the cloud storage SDK to perform operations such as uploading files, downloading files, deleting files, and modifying file metadata.\n\n## Demo Testing\n1. Download an API client authentication credential and modify the Path parameter.\n2. Fill 'bucketName' parameter with storage instance name. You can obtain the storage instance name from the storage instance box on the **Project settings \u003e Build \u003e Cloud Storage** page of AppGallery Connect.\n3. Uncomment related methods in the demo to call them.\n4. Run the following command in the project directory to test the demo.\n    ```\n    node cloudstorage.js  \n    ```\n\n## Supported Environments\nNode.js 10.0.0 or later version is recommended.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappgalleryconnect%2Fagc-cloudstorage-server-nodejs-codelab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappgalleryconnect%2Fagc-cloudstorage-server-nodejs-codelab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappgalleryconnect%2Fagc-cloudstorage-server-nodejs-codelab/lists"}