-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Do the following:
- make a file called cloudbucket.js if it doesn't exist already
- make a javascript class called CloudBucketWrapper
- install @google-cloud/storage to use the gcp-cloud bucket via npm
- 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).
- export it such that the class exists as a singleton: all imports refer to the same instance of CloudBucketWrapper
- test the code to ensure it works
- commit everything but the test file
Reactions are currently unavailable