Setting up the server code

Now that we have our Cloudinary account set up, we will continue. Open your .env file placed at the root of the SmartExchange code and add the following:

// SNIPP SNIPPGCP_API_KEY=AIzaSyAmMqOXsDk8HflP_iDXERyiU2FB9FhDCQk// SNIPP SNIPP

This is the API key that we used earlier to make a request to the Google Cloud Vision API. We are going to use it programmatically.

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.