0.1.0-dev.03a85f44875cc2268b504dba024aa82fb2e1f8f0 • Published 2 years ago
@antribute/backend-server-nextjs v0.1.0-dev.03a85f44875cc2268b504dba024aa82fb2e1f8f0
Antribute Next.js Server Provider
Adds Next.js API Handler Support to the Antribute Backend
Installation
pnpm i @antribute/backend-server-nextjs -D
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({ permissions: { platform: '@antribute/backend-perms-auth0-fga' } });
- Run the Antribute CLI to auto-generate required files