Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@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 });