cfc-client
v1.0.25
Published
This npm project contains typescript code which consistutes a REST client for the backend of the Chinese Flashcards application.
Downloads
34
Readme
Client for Chinese Flashcards Backend
This npm project contains typescript code which consistutes a REST client for the backend of the Chinese Flashcards application.
Usage
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();