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 🚀
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}`);