npm install dotenv
Before querying the cloudant db, Create a cloudant DB and follow the steps below, create a .env file with your Cloudant credentials in the root directory.
cloudant_username=myaccount # Replace myaccount with your account name
cloudant_password='secret' # Replace secret with your password