Quickly integrate Cloud Storage Of AppGallery Connect Into A NodeJS

Quickly integrate Cloud Storage Of AppGallery Connect Into A NodeJS

See the release of Cloud Storage Node.js SDK for server integration. Quickly Integrate Cloud Storage of AppGallery Connect Into a NodeJS - Enabling and Configuring Cloud Storage in AppGallery Connect. Create an app first and add it to a project, or select an app from the project list on the My projects page in AppGallery Connect.

HUAWEI AppGallery Connect Cloud Storage provides maintenance-free cloud storage functions. See the release of Cloud Storage Node.js SDK for server integration.

Introduction

HUAWEI AppGallery Connect Cloud Storage provides maintenance-free cloud storage functions. Recently, the Cloud Storage Node.js SDK for server integration has been released. I’ve been using it for a while. You can also access the sample code on  GitHub.

Configuring the Environment and Version Information

  • Version: cloudstorage-server”: “1.0.0”
  • Environment:Window-Node -v14.15.0,npm v6.14.8,Visual Studio Code
  • Test Device: PC
  • cloudstorage-server”: “1.0.0”
  • AppGallery Connect
  • SDK version: agconnect/cloudstorage-server”: “1.0.0”
  • SDK integration command: npm install — save @agconnect/cloudstorage-server

Enabling and Configuring Cloud Storage in AppGallery Connect

Currently, Cloud Storage is still in beta testing. To use the service, you’ll first need to send an application by email. For details, visit the following address  here.

  • Create an app first and add it to a project, or select an app from the project list on the My projects page in AppGallery Connect.
  • Under the project, go to Build > Cloud Storage, and click Enable now.
  • Configure a storage instance as required.
  • Define the security rules. In this example, the default rules are used.

Note: By default, only authorized users have read and write permissions.

cloud nodejs node

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Multi-cloud Spending: 8 Tips To Lower Cost

Mismanagement of multi-cloud expense costs an arm and leg to business and its management has become a major pain point. Here we break down some crucial tips to take some of the management challenges off your plate and help you optimize your cloud spend.

What are the benefits of cloud migration? Reasons you should migrate

To move or not to move? Benefits are multifold when you are migrating to the cloud. Get the correct information to make your decision, with our cloud engineering expertise.

Google Cloud: Caching Cloud Storage content with Cloud CDN

In this Lab, we will configure Cloud Content Delivery Network (Cloud CDN) for a Cloud Storage bucket and verify caching of an image. Cloud CDN uses Google’s globally distributed edge points of presence to cache HTTP(S) load-balanced content close to our users.

NodeJS - Host your Nodejs (Chat Server) on Heroku Cloud || Free Tier || WhatsApp clone #24

NodeJs - Host your Nodejs (Chat Server) on Heroku Cloud || Free Tier || WhatsApp clone #24

Add Nodes to Your Private Cloud Using Cloud-init

Cloud-init is a widely utilized industry-standard method for initializing cloud instances. Cloud providers use Cloud-init to customize instances with network configuration, instance information, and even user-provided configuration directives. It is also a great tool to use in your "private cloud at home" to add a little automation to the initial setup and configuration of your homelab's virtual and physical machines—and to learn more about how large cloud providers work.