Is StrongLoop a Rest API builder or a deployment tool? - node.js

In the documenation says that is a set of Node.js modules used for building rest APIs
Although here :
https://strongloop.com/strongblog/node-js-deploy-production-best-practice/
says that is a tool that can help you deploy any node app using strong-build ,
strong-deploy and strong-pm modules.
Can someone shed some light on this confusion ?
If is used for deployments of node.js apps is there any straight forward documentation explaining how?
Thanks

StrongLoop is the name of the company - the REST API framework that they provide is called LoopBack.
LoopBack, strong-build, strong-deploy and strong-pm are all separate tools, but are all accessed using the StrongLoop command-line tools, which can be accessed using the slc command.

Related

Is is possible to make Desktop App with Nodejs along with Online connectivity

I am trying build an application that can run offline and online too. If the application is offline it must run with minimum functionality and if it get an internet it automatically push data online Any references or tutorials would be appreciated.
any references that can help me to achieve this.
Yes, surely that's possible and you already mentioned the tools: node.js and electron are suitable. Most electron apps do that (whatsapp and joplin directly come to my mind).
You can look in the source of those already available apps, but it might be difficult. I would start with the tutorial of electron and search for the features as "check internet connectivity" (i.e. here on stackoverflow)
Your question is a bit to broadly stated to help in detail.
Yes, surely that's possible. you can use the node.js and electronJs with Angular are suitable.
For Angular and NodeJs refer the below document:
Build a Basic CRUD App with Angular and Node
For ElectronJs refer the below demo project:
Electron Samples
Best luck !!

Using Nodejs with IIS for REST service using Express

We're using Nodejs + Express to create a RESTful web service. During testing we kicked off the service via the command-line, i.e., node mim.js and and tested the service using http://server:9999/mim/GetEmployeeData and that works fine.
The node application lives in inetpub\wwroot\myapps\mim and we want to be able to access it like so:
http://apps.mydomain.com/mim/GetEmployeeData
We're not quite sure how to get this to work with IIS, however. Looking for some help with respect to this.
Thanks in advance!
See this Hosting node.js applications in IIS on Windows tutorial:
https://github.com/tjanczuk/iisnode
It explains many different scenarios and since you din't post a lot of details it's hard to give you a more detailed answer other than pointing you to a good documentation about the thing that you're trying to do.

Node Red Bluemix Application

Is there any way to provide front end to the NODE-RED App in BLUEMIX? I mean if there is a way to attach Angular.JS or PHP to the application.
You can embed a Node-RED app into an application based on AngularJS. Node-RED is based on Node.js and there is even official documentation on how to embed it. Take a look here: http://nodered.org/docs/embedding
You need to add the node-red package to the requirements and configure some settings. All is explained in the sample code provided in the above document.
I think the best way to use angularJs in combination with node-red is the template node from the dashboard ui:
npm package dashboard ui:
https://github.com/node-red/node-red-dashboard
detailed description of usage:
http://noderedguide.com/tag/template-node/

Bluemix + Node.js - Is there documentation for the watson-developer-cloud module?

I am interested in playing around with the Q & A service, the demo app uses the REST API and I am wondering if the service can be used with the newer watson-developer-cloud module and if so where can I find an example or documentation for those functions.
The demo is online at Q&A Node.js demo but this uses the older REST API.
Thanks,
Andy
Yes, you should be able to use the service with the newer watson-developer-cloud module, but there's no updated demo. Note, that the module was not changed drastically enough that it should really matter.
The README.md file for the Github repository containing the project has a full set of usage instructions.

Can I deploy a slug to heroku without including the runtime

I'm trying to follow this https://devcenter.heroku.com/articles/platform-api-deploying-slugs?preview=1 to create a slug of my node app and deploy to heroku. Given that heroku has a nodejs buildpack built into it I can't help thinking there must be a way to do so without including the node runtime as recommended, but it's not easy to find out how in the platform api docs.
Anyone have an ideas?
you can also create slugs programmatically using the Build API. See these guides
Building and Releasing using the Platform API
Programmatic builds on Heroku
This is also mentioned in the intro to the article you mentioned, but I'll make that clearer.
Feel free to get in touch at friis#heroku.com if you have any questions about how to use this.

Resources