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

Microservices

A demonstration of how multiple services can communicate with each other using Specific's service reference syntax.


Microservices service diagram

  • Gateway - Public-facing service that aggregates data from internal services
  • Users - Internal service that returns user data
  • Products - Internal service that returns product data

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-microservices
npm install

Start the development server

specific dev

Open the gateway URL shown in the output to see aggregated data from the internal services.

Deploy to production

specific deploy

Was this page helpful?