This npm project contains typescript code which consistutes a REST client for the backend of the Chinese Flashcards application.
npm i cfc-client
// index.ts
import { DefaultApi, Configuration } from "cfc-client";
const configuration = new Configuration({
basePath: "https://localhost:3000",
});
const api = new DefaultApi(configuration);
const { health } = await api.getHealth();