---
title: "Node.js"
description: "42 posts about Node.js, summarised, each linking to the original."
---

# Node.js
> 42 posts about Node.js, summarised, each linking to the original.

## Articles

### [The Heroku Mobile App Template](https://yomu.fyi/post/the-heroku-mobile-app-template.md)
- Company: [Heroku](https://yomu.fyi/company/heroku.md)
- Author: Scott Persinger
- Published: Oct 2, 2014
- Type: Announcement

The Heroku Mobile Template is an open-sourced full-stack starting point for hybrid mobile apps that can be deployed to Heroku. It addresses the early choice among native iOS or Android, mobile web, hybrid clients, and backend technologies. The sample, “Quiz Live,” combines an AngularJS client with a Node.js and Express server, SocketIO real-time communication, BookshelfJS, and Postgres persistence for authentication, data storage, and notifications. Apache Cordova can package the HTML and JavaScript assets as a native app, while Ionic supplies cross-platform mobile UI components. Developers can fork the GitHub repository, deploy with the Heroku Button, and run it locally with Node.js and Postgres; the template also includes a Force.com example that creates Lead records for registering Quiz users.


### [Heroku Connect: Event-driven Data Sync For Force.com](https://yomu.fyi/post/heroku-connect-event-driven-data-sync-for-force-com.md)
- Company: [Heroku](https://yomu.fyi/company/heroku.md)
- Author: Scott Persinger
- Published: Jul 17, 2014
- Type: Problem & solution

Heroku Connect synchronizes data in both directions between Salesforce (Force.com) and Heroku Postgres, but its original polling design trades simplicity and reliability for synchronization latency, wasted API calls, and unnecessary database queries. The post presents an event-driven alternative using the Force.com Streaming API and PostgreSQL’s LISTEN/NOTIFY system. For Salesforce, Heroku Connect automatically creates a PushTopic per synchronized table, subscribes with Node.js and NForce, and dispatches Redis tasks when notifications arrive. Those events act as change signals rather than complete data transfers: workers query the Force.com SOAP API because streaming has limitations and subscribers may miss events. On Postgres, PL/pgSQL trigger functions call pg\_notify after DML, while node-postgres listens on named channels; the system supports added UPDATE and DELETE triggers, though triggers are still required.


[Newer posts](https://yomu.fyi/topic/node-js/page/2.md)
