Skip to content

Cloud Bucket Service #39

@jacobhebbel

Description

@jacobhebbel

Do the following:

  1. make a file called cloudbucket.js if it doesn't exist already
  2. make a javascript class called CloudBucketWrapper
  3. install @google-cloud/storage to use the gcp-cloud bucket via npm
  4. write a constructor, hello method, and an isConnected method. hello should just print something (for debugging) and isConnected should do some operation that relies on the Cloud Bucket API. This operation ensures your class connects to the project's Cloud Bucket, but doesn't need to do anything more than that (don't execute a query).
  5. export it such that the class exists as a singleton: all imports refer to the same instance of CloudBucketWrapper
  6. test the code to ensure it works
  7. commit everything but the test file

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions