The consumer app is a multi-platform hybrid application packaged with Apache Cordova, enabling easy distribution on the different app stores. It is built as a single page application with AngularJS and Ionic. It runs on iOS, Android, Windows Phone, etc.
Nibs Employees manage the application data (create offers, products, etc) in Salesforce in the browser or in the Salesforce1 mobile app. The employee-facing application is built using Salesforce declarative features with clicks not code.
The server-side of the consumer app runs on Heroku and is built with Node.js, Express, and Postgres.
The server-side application exposes its own REST endpoints. The client application gets its data by invoking these REST services. These are API calls to your own application (the Nibs server), and they don't count towards Salesforce API limits.
The application data is maintained in Salesforce. Heroku Connect synchronizes the Salesforce data with a Postgres database running in Heroku.
Heroku Connect synchronizes the following Salesforce objects:
Using Heroku Connect:
Learn more about Heroku Connect.
Push Notification is implemented using the ExactTarget Mobile Push APIs and is documented on this page
See instructions for Journey Builder integration to learn how Journey Builder integrates with Nibs.
SOS is a feature of Service Cloud where you put a Video Help button into your app which enables your
app's users to open a video chat directly with a service agent. SOS integrates with your app via an
iOS SDK. The SOS functions can be exposed via an Apache Cordova
plugin to the Javascript in the Nibs Angular App. Simply connect a new button to invoke the
SOS Application:startSession
method. The Apache Cordova project used for Nibs, with SOS integration
is available here: https://github.com/heroku/nibs-cordova.