A simple sample for a stupendous service.
{ credentials: … }
to local-credentials.json
hello
and upload the hello.json file here as JSON.manifest.yml
to note the bound service namenpm install
npm run start
to test locally (using local-credentials.json
)cf push
this application should post it to your BlueMix instance.npm install -g pino
then npm run start | pino
( see pino )Also, see promise-test.js for an example of using promises and async/await on Node v7+
Sample deployment: https://gp-nodejs-sample.mybluemix.net/
See CONTRIBUTING.md.
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.