Skip to content
marek edited this page Jul 19, 2026 · 1 revision

API

How to connect server's API with the React frontend

  1. Run this command npx openapi-zod-client http://localhost:<CURRENT_APP_PORT>/openapi.json -o ./src/ui/api/generated-schemas.ts or use following package.json script generate:api:schema (hard-coded default port 41050) to generate schema .ts file.

Clone this wiki locally