Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 500 Bytes

File metadata and controls

21 lines (15 loc) · 500 Bytes

@objectstack/fastify

The official Fastify adapter for ObjectStack.

Features

  • Fastify plugin integration
  • Full Auth/GraphQL/Metadata/Data/Storage routes
  • AuthPlugin service support with Web Request conversion
  • Decorator mode for attaching kernel to requests

Usage

import Fastify from 'fastify';
import { objectStackPlugin } from '@objectstack/fastify';

const app = Fastify();
app.register(objectStackPlugin, { kernel, prefix: '/api' });

app.listen({ port: 3000 });