This API Server functions as an interface facilitating bidirectional data synchronisation between a Salesforce instance and progressive web applications. Powered by Heroku Connect, streamlining data exchange and ensuring seamless communication between your product and Salesforce.
This repository is designed to kickstart the development of custom API servers for Salesforce using Heroku Connect, useful for product development.
Install project dependencies:
npm install
Run the Express server locally:
npm run serve
Start the Express server:
npm start
Variable | Description | Required | Sample Value |
---|---|---|---|
NODE_ENV | Environment identifier used for conditional logic. | ❌ | staging |
PORT | Express server port. | ❌ | |
DATABASE_URL | PostgreSQL database URI. | ✅ | postgres://... |