Skip to content
Specific Docs
Esc
navigateopen⌘Jpreview
On this page

Database with Sync

A minimal Node.js app demonstrating real-time sync across multiple clients using Specific's PostgreSQL sync engine.


Database with Sync service diagram

Run locally

Install the CLI and clone

curl -fsSL https://specific.dev/install.sh | sh
git clone https://github.com/specific-dev/examples.git
cd examples/node-realtime-click-counter
npm install

Start the development server

specific exec web -- npm run db:migrate
specific dev

Open the web service URL printed in the terminal (usually http://localhost:3001) to view the app.

Deploy to production

specific deploy

Was this page helpful?