Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jigintern/online-2024-e

🍸 Cocktail Message App
https://github.com/jigintern/online-2024-e

cocktail deno hono typescript

Last synced: about 1 month ago
JSON representation

🍸 Cocktail Message App

Awesome Lists containing this project

README

        

# online-2024-e

## Backend

You can import the API entrypoints and the cocktail type with the following code:

```ts
import { hc } from "hono/client";
import type { API } from "/src/api/mod.ts";
import type { Cocktail, Message } from "/src/api/utils/types.ts";

const client = hc("/api");
```

For more information, see [the Hono RPC documentation](https://hono.dev/docs/guides/rpc#client).