Now it is time for the application to access the SharePoint server. You can find all files within the repository on GitHub: https://github.com/ErikWegner/hightrust-sharepoint-node.js
The source code of the app
In this step we tell SharePoint to trust our certificate. The necessary commands are listed in MSDN and must be run inside SharePoint Management Shell.
To authorize access to the SharePoint API you have to send a an authorization token. The token contains a cryptographic signature that is validated by the SharePoint server. This procedure needs a certificate, that can be generated by one of the two ways.
This list tells you what software and pieces of information are required to follow the tutorial.
This tutorial describes how to run a Node.JS app that is accessing a SharePoint server on premise. The app uses the new SharePoint 2013 app model to talk to the SharePoint server locally without the Office Store.
Why do you want to run a provider hosted app in your own data centre? Because