Skip to content

dashika/AureliaWatsonNews

Repository files navigation

AureliaWatsonNews

Simple example, show how to work with Watson API with Aurelia. Server - Node.js Express, client - Aurelia by TypeScript.

DEMO

Main Comment

Get Started

  • Make sure you have NodeJS installed
  • Make sure you have gulp installed globally:
npm install gulp-cli -g
  • Make sure you have Aurelia-CLI installed globally:
npm install aurelia-cli -g
  • Download or clone this repository
  • Enter in the 'server' directory and run:
npm install
  • Enter in the 'client' directory and run:
npm install
jspm install -y
  • After all dependencies are installed and your MongoBD string connection is set, enter in 'client' directory and run:
gulp
  • Now you can access the local website:
http://localhost:3000
  • All changes to client *.ts (TypeScript) files will be listen, so you just need to wait to aurelia rebuild the bundles and reload your page

LICENSE

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.