dd-cognitive-service-module-ui
The service module to serve the Cognitive web client side requests
Last updated 2 years ago by dbertrand .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install dd-cognitive-service-module-ui 
SYNC missed versions from official npm registry.

dd-cognitive-service-module

How to run it

npm start

Run the service module locally

npm run start:doc

Run the service module locally and host the api doc

npm run start:watch

Run the service module locally and watch local file change to reload automatically

How to build it

npm run build

Build the module to /dist folder. It will be used to publish to npm, and can be used in other express server

npm run build:doc

Build the api document page

How to test it

npm run test

Run the tests on the service ...

How to integrate this module to Express server

The module exports an express router, you can simply use the following code to integrate it to your express server:

const express = require('express');
const app = express();

const serviceModule = require('dd-cognitive-service-module-ui'); // Note: for now it is not published to npm yet

const rootServicePath = '/api/v1';
app.use(rootServicePath, serviceModule({
  backendUrl: 'http://localhost:3000'
}));

How to deploy app to Bluemix

  1. Run the following command to set your API endpoint, replacing the API-endpoint value with the API endpoint for your region.
cf api <API-endpoint>
API endpoint Region
https://api.ng.bluemix.net US South
https://api.eu-gb.bluemix.net United Kingdom
https://api.au-syd.bluemix.net Sydney
  1. Log in to your Bluemix account.
cf login
  1. From within the app directory, push the app to Bluemix.
cf push

Current Tags

  • 0.4.77                                ...           latest (2 years ago)

79 Versions

  • 0.4.77                                ...           2 years ago
  • 0.4.76                                ...           2 years ago
  • 0.4.75                                ...           2 years ago
  • 0.4.74                                ...           2 years ago
  • 0.4.73                                ...           2 years ago
  • 0.4.72                                ...           2 years ago
  • 0.4.71                                ...           2 years ago
  • 0.4.70                                ...           2 years ago
  • 0.4.69                                ...           2 years ago
  • 0.4.68                                ...           2 years ago
  • 0.4.66                                ...           2 years ago
  • 0.4.65                                ...           2 years ago
  • 0.4.64                                ...           2 years ago
  • 0.4.63                                ...           2 years ago
  • 0.4.62                                ...           2 years ago
  • 0.4.61                                ...           2 years ago
  • 0.4.60                                ...           2 years ago
  • 0.4.59                                ...           2 years ago
  • 0.4.58                                ...           2 years ago
  • 0.4.57                                ...           2 years ago
  • 0.4.56                                ...           2 years ago
  • 0.4.55                                ...           2 years ago
  • 0.4.54                                ...           2 years ago
  • 0.4.53                                ...           2 years ago
  • 0.4.52                                ...           2 years ago
  • 0.4.51                                ...           2 years ago
  • 0.4.50                                ...           2 years ago
  • 0.4.49                                ...           2 years ago
  • 0.4.48                                ...           2 years ago
  • 0.4.47                                ...           2 years ago
  • 0.4.46                                ...           2 years ago
  • 0.4.45                                ...           2 years ago
  • 0.4.44                                ...           2 years ago
  • 0.4.43                                ...           2 years ago
  • 0.4.42                                ...           2 years ago
  • 0.4.41                                ...           2 years ago
  • 0.4.40                                ...           2 years ago
  • 0.4.39                                ...           2 years ago
  • 0.4.38                                ...           2 years ago
  • 0.4.37                                ...           2 years ago
  • 0.4.36                                ...           2 years ago
  • 0.4.35                                ...           2 years ago
  • 0.4.34                                ...           2 years ago
  • 0.4.33                                ...           2 years ago
  • 0.4.32                                ...           2 years ago
  • 0.4.31                                ...           2 years ago
  • 0.4.30                                ...           2 years ago
  • 0.4.29                                ...           2 years ago
  • 0.4.28                                ...           2 years ago
  • 0.4.27                                ...           2 years ago
  • 0.4.26                                ...           2 years ago
  • 0.4.25                                ...           2 years ago
  • 0.4.24                                ...           2 years ago
  • 0.4.23                                ...           2 years ago
  • 0.4.22                                ...           2 years ago
  • 0.4.21                                ...           2 years ago
  • 0.4.20                                ...           2 years ago
  • 0.4.19                                ...           2 years ago
  • 0.4.18                                ...           2 years ago
  • 0.4.17                                ...           2 years ago
  • 0.4.16                                ...           2 years ago
  • 0.4.15                                ...           2 years ago
  • 0.4.14                                ...           2 years ago
  • 0.4.13                                ...           2 years ago
  • 0.4.12                                ...           2 years ago
  • 0.4.11                                ...           2 years ago
  • 0.4.10                                ...           2 years ago
  • 0.4.9                                ...           2 years ago
  • 0.4.8                                ...           2 years ago
  • 0.4.7                                ...           2 years ago
  • 0.4.6                                ...           2 years ago
  • 0.4.5                                ...           2 years ago
  • 0.4.4                                ...           2 years ago
  • 0.4.3                                ...           2 years ago
  • 0.4.2                                ...           2 years ago
  • 0.3.6                                ...           2 years ago
  • 0.3.5                                ...           2 years ago
  • 0.3.4                                ...           2 years ago
  • 0.3.3                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 79
Last Day 0
Last Week 79
Last Month 0
Dependencies (10)
Dev Dependencies (25)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |