Skip to content

jkjack/uservice-translate-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uservice-translate-cache

Microservice responsible to use an google api to translate text and save the results in cache

Installation

uservice-translate-cache use nvm to version control. if you don't have nvm, install it here

Run:

nvm install

Install the node package modules used on project:

npm install

Insert your google key on file ./path/to/keyfile.json

If you don't have a google key, you can create following this google tutorial following Authentication > Elsewhere section

The last thing required is to run a local redis.

Initialization

Start the micro service:

npm start

Run the command above to run unit tests:

npm test

Dev

Run lint:

npm run lint

About

Microservice responsible to use an google api to translate text and save the results in cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors