API Server for @joonas-yoon/speech-translator
The server is developed as pipeline for automated request and response to reconize speech(STT) and translate it.
It needs credential to use Google Cloud APIs, so we need to write key.json
for authenticating.
This document helps you to get credentials as json file.
and copy & paste it. (or send it)
$ vi key.json
{
"type": "service_account",
"project_id": "project-id",
"private_key_id": "some_number",
...
}
export your environment valuables before running application: environment/development.env
export $(cat ../environment/development.env)
or fill in the fields: app/backend/configs/index.js
Framework: node.js
Framework: Vue.js
nothing yet.
$ sudo apt install docker docker-compose -y
$ sudo docker build --tag node-app .
$ sudo docker-compose up -d
Note: It uses environment variables in production mode with environment/production.env
If you get "Hello World" when following command, it works fine.
$ curl http://localhost/
Hello World!
client for Google Chrome Extension
Youtube: https://youtu.be/GaV_2DHSElM