---
title: "Microservices"
description: "A demonstration of how multiple services can communicate with each other using Specific's service reference syntax."
---

**[Live Demo](https://microservices.spcf.app)**

Try it in your browser

**[Source Code](https://github.com/specific-dev/examples/tree/main/node-microservices)**

View on GitHub

<br />

![Microservices service diagram](/images/examples/microservices.png)

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

## Get started

**Coding agent**

Paste this prompt into Claude Code, Cursor, Codex, or whichever agent you use:

```text
Help me get started with Specific by following https://start.specific.dev, using the Microservices example
```



Your agent installs the CLI, clones the example, runs it locally, and walks you through deploying.

**Manual**

1. **Install the CLI and clone**

    ```bash
    curl -fsSL https://specific.dev/install.sh | sh
    ```

    ```bash
    git clone https://github.com/specific-dev/examples.git
    cd examples/node-microservices
    npm install
    ```

2. **Start the development server**

    ```bash
    specific dev
    ```

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

3. **Deploy to production**

    ```bash
    specific deploy
    ```
