Now that we have the frontend service created, what is left to do? Well, so far we have essentially been creating a queue of files to be processed. In this section, we will set about processing the filenames that have been added to the message queue.
Once again, we need to reinitialize our environment—this time, focusing our efforts on the backend-service subdirectory:
- Move to the backend-service subdirectory created earlier.
- Initialize the npm package for this directory, that is, npm init --yes.
- Add the pubsub package, that is, npm install @google-cloud/pubsub.
- Then, add the Cloud Storage package, that is, npm install @google-cloud/storage.
In order to process the information presented at the backend, we need to create ...