Skip to content

jjkoh95/conjure-typescript-fastify

Repository files navigation

Conjure Typescript Fastify

Basic usage

import ConjureServer from "conjure-typescript-fastify";
import config from "your-generated-ir-config.json";

const server = new ConjureServer();
server.addService(
    config.types as ITypeDefinition[],
    config.services[0] as IServiceDefinition,
    implementation, // this is where you implement the generated interface
);
server.start(8080).then(() => console.log("Server started"));

For better examples, please refer test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published