You might also be interested in checking out our Node API SDK.
A sample app built with Node.js and React can be found on Developer Hub.
Lokalise can be used with Node.js apps.
Prerequisites
Your Node.js app must be prepared for localization (see Node.js i18n docs).
You'll need an existing Lokalise project. Specifically, you'll require the project ID that can be found in the project settings.
A read/write Lokalise API token is required. Learn how to work with the API tokens in the corresponding article.
The Lokalise CLI tool must be installed.
To run the Lokalise CLI tool from NodeJS, you will need to use the child_process.execFile API.
Uploading to Lokalise
Upload your translation files to Lokalise:
$ lokalise2 \
--token <token> \
--project-id <project_id> \
file upload \
--file "myapp/locales/en.json" \
--lang-iso en
Additional upload options can be found in the CLI docs.
Downloading from Lokalise
As the translators are done you need to download the language files from Lokalise:
$ lokalise2 \
--token <token> \
--project-id <project_id> \
file download \
--format json \
--original-filenames=false \
--bundle-structure "%LANG_ISO%.json" \
--unzip-to "myapp/locales/"
Additional download options can be found in the CLI docs.