Nisome in Swahili means read me. That's what it does :)
You can see the trial run here: YouTube Link
Steps to run the app locally:
- Enable Google Cloud Vision API (resource)
- Set up authentication for Cloud Vision's client library by creating a service account (resource)
- Store the credentials (downloaded as a JSON file) in a secure location.
- Create service credentials for the Text to Speech API (resource)
- API Documentation (Node.js client library)
git clone https://github.com/bensooraj/nisome.git
cd nisome/
touch .env
Configure the environment variables in the .env
file, in the following format:
GOOGLE_APPLICATION_CREDENTIALS=./GoogleCloudVisionServiceAccountCred/service-account-cred.json
IBM_WATSON_TEXT_TO_SPEECH_USERNAME=some-random-gibberish-watson-username
IBM_WATSON_TEXT_TO_SPEECH_PASSWORD=gibberish-watson-password
Note: I am storing Google Cloud Vision's (service credentials) json file under GoogleCloudVisionServiceAccountCred
within my project directory (just a random choice).
Finally,
npm install
npm start
Head to => http://localhost:3000/