@hubql/nestjs
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

Hubql Client for NestJS

Example usage of Hubql Client in a NestJS project.

Installation

npm install @hubql/nestjs

Usage

Set up NestJS

Set up NestJS OpenAPI

Pass OpenAPI JSON URL to your hubqlClient

import { hubqlClient } from '@hubql/nestjs'

app.use(
    '/hubql',
    hubqlClient({
        settings: {},
        openAPIDoc: {
            url: '/swagger',
        },
    })
)

Package Sidebar

Install

npm i @hubql/nestjs

Weekly Downloads

7

Version

0.0.8

License

MIT

Unpacked Size

7.8 kB

Total Files

6

Last publish

Collaborators

  • avepha
  • tobias-hubql