Kestrel Courier App
Workspace owner Ines Kovar — portrait by Thanh Xuan Nguyen Ly on Pexels

Comber to Graph API 🎉

You can now convert a Comber schema into a Graph API schema with just one line of code — and yes, it’s fully customisable!

Go give it a try – cmbr.link/graph 🚀

server.ts
import { buildSchema } from 'comber-graph';
import { comber } from 'comber-orm/...';
import { EdgeServer } from '@drawloom/server';
import { startEdgeRuntime } from '@drawloom/server/standalone';

import * as dbSchema from './schema';

const db = comber({ schema: dbSchema });

const { schema } = buildSchema(db);

const server = new EdgeServer({ schema });
const { url } = await startEdgeRuntime(server);

console.log(`🚀 Server ready at ${url}`);