FerryDocs
Contributing

Web client

The dashboard is a single-page app in web/. Vite serves it in development, and ferryd serves it in production.

Edit on GitHub
API callsembedweb/srcthe React appViteport 5173web/distthe built filesferrydonly its API

In development, Vite serves web/src with hot reload. It sends the API calls to ferryd.

1 / 3

The is a in web/, with its own toolchain. ferryd serves it at /.

The Rust build never runs Node. ferry-api embeds what web/dist contains when it compiles.

Start the dev server

Terminal
FERRY_API_URL=http://127.0.0.1:7878 npm run dev    # → http://localhost:5173

In this section

On this page