On this page

Chapter 30 · Claude and export

Exporting server links and a server skeleton

In Export, choose server links and a server skeleton, read the API draft table, then pin an English name in the editor.

Watch the video

Video — Exporting server links and a server skeleton

Follow along

Click where the blue ring is.

  1. Step 1. In Export, pick React code and turn on "Include server connection (API contract)". An API contract is drawn up from your screen design.

    Exporting server links and a server skeleton, step 1
  2. Step 2. Choose a server skeleton: None, Node (Hono) or Python (FastAPI). The zip then includes a server folder.

    Exporting server links and a server skeleton, step 2
  3. Step 3. Open the API draft table to see each resource, method and path on one line. Warnings on the right flag names that were made up automatically.

    Exporting server links and a server skeleton, step 3
  4. Step 4. In the editor, select the list, open "Server link" and type an English name to fix it. Duplicate names block the export.

    Exporting server links and a server skeleton, step 4
  5. Step 5. Open Export again: the table shows your name and that row's warning is gone.

    Exporting server links and a server skeleton, step 5
  6. Step 6. Run the downloaded app as its README says. It opens on fake data first; put the server address in .env to reach the real server.

    Exporting server links and a server skeleton, step 6