In this article, we will upload a file to cloud storage and download it to serve it from our nestJS api. Prerequisites: Create a bucket To create a bucket: Open a terminal window. Use the gsutil mb command and a unique name to create a bucket: gsutil mb -b on -l us-east1 gs://my-awesome-bucket/ This uses a bucket named “my-awesome-bucket.” You must choose your own, globally-unique, bucket name. For more information refer docs Setting up service account The first thing, we need to set up our ser...