Examples

React + Express API

Learn how to deploy a React frontend with an Express backend using Ink.

Create an Ink account and connect Ink

Make sure you have an Ink account and have set up Ink for your agent. Use the CLI, the Ink Skill, or MCP. For MCP auth, choose:

See Quick Start for full setup instructions.

Verify the connection

Once Ink is connected, confirm your agent can reach it by asking it to check.

Prompt

Do you have Ink connected?

Build the app

Ask your agent to create a full-stack task management app. The agent will scaffold both a React frontend and an Express API backend.

Prompt

Build a task management app with a React frontend and Express.js backend API. The frontend should call the API for all data operations.

Deploy with Ink

Tell your agent to deploy. The agent deploys the backend first, retrieves its live URL, then deploys the frontend with that URL as an environment variable — all from a single prompt.

Prompt

Deploy to Ink

Tool Call
(
  : ,
  : ,
  : ,
  : {
    "0": "[object Object]"
  }
)
Tool Call
(
  : 
)
{
  "url": "https://tasks-api-abc123.deployink.com"
}
Tool Call
(
  : ,
  : ,
  : ,
  : ,
  : {
    "0": "[object Object]"
  }
)

Visit your app

Ink returns live URLs for both services. The frontend talks to the backend API over HTTPS using the VITE_API_URL environment variable.

Check logs and metrics (optional)

Ask your agent to pull build logs, runtime logs, or metrics for either service.

Prompt

Check metrics and logs for both services

That's it — your full-stack app is deployed and live. From here you can add custom domains, set up environment variables, or explore more examples.

On this page