0.1.0 • Published 10 months ago
@cooud/orbit v0.1.0
@cooud/orbit
The Cooud API Gateway. It uses the Elysia framework, so you can access it through Eden.
Getting Started
Install the necessary dependencies:
bun i @elysiajs/eden
bun i -D @cooud/orbit
Then create a type-safe connection with the back-end:
import { treaty } from '@elysiajs/eden'
import type { Cooud } from '@cooud/orbit'
const cooud = treaty<Cooud>('orbit.cooud.com')
API Reference
You can access the API reference on https://orbit.cooud.com/reference, although Eden's auto-complete may be sufficient in most cases.
0.1.0
10 months ago