Skip to content
This repository was archived by the owner on Sep 1, 2026. It is now read-only.

Repository files navigation

Hello, Globalization Pipeline!

A simple sample for a stupendous service.

Installation

  • To get started, you should familiarize yourself with the service itself. A good place to begin is by reading the Quick Start Guide
  • for testing locally, copy the credentials (starting with { credentials: … } to local-credentials.json
  • go into the Globalization Pipeline dashboard and click New Project
  • create a project with the Project ID hello and upload the hello.json file here as JSON.
  • Add target languages, edit as desired
  • update manifest.yml to note the bound service name
  • npm install
  • Now you can use npm run start to test locally (using local-credentials.json)
  • cf push this application should post it to your BlueMix instance.
  • For decoding the logs, use npm install -g pino then npm run start | pino ( see pino )

Promises

Also, see promise-test.js for an example of using promises and async/await on Node v7+

Usage

Sample deployment: https://gp-nodejs-sample.mybluemix.net/

  • click on a language code to view 'hello' in that language.

Community

Contributing

See CONTRIBUTING.md.

License

Apache 2.0. See LICENSE.txt.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Node.js Globalization Pipeline sample

Resources

Contributing

Stars

6 stars

Watchers

24 watching

Forks

Releases

Packages

Used by

Contributors

Languages