0.1.0-dev.d1d952a97ee1988007310edcb349055aa52a77a0 • Published 2 years ago
@antribute/backend-server-koa v0.1.0-dev.d1d952a97ee1988007310edcb349055aa52a77a0
Antribute Koa Server Provider
Adds Koa Support to the Antribute Backend
Installation
pnpm i @antribute/backend-server-koa -D && pnpm i koa
If your application is configured to use GraphQL, also install the following peer dependency
pnpm i @graphql-yoga/plugin-disable-introspection graphql-yoga
Usage
- Create a new file called
.antributerc.ts
- Add the following
import { defineConfig } from '@antribute/backend-core'; export default defineConfig({ server: { platform: '@antribute/backend-server-koa' } });
- Run the Antribute CLI to auto-generate required files