Joanie can create a TypeScript client to be use in frontend applications. This client is made with openapi-typescript-codegen and Joanie's backend openapi schema (available here if you have Joanie's backend running).
We'll need the online openapi schema generate by swagger. Therefor you need to install Joanie.
$ cd src/openApiClientJS
$ yarn install
yarn generate:api:client:local <output_path_for_generated_code>