> ## Documentation Index
> Fetch the complete documentation index at: https://deepkit-graphql.js.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Yoga

> Use [Yoga](https://the-guild.dev/graphql/yoga-server) as the underlying GraphQL server

## 1. Installation

<Tabs>
  <Tab title="npm">
    ```sh theme={null}
    $ npm install @deepkit-graphql/yoga
    ```
  </Tab>

  <Tab title="yarn">
    ```sh theme={null}
    $ yarn add @deepkit-graphql/yoga
    ```
  </Tab>

  <Tab title="pnpm">
    ```sh theme={null}
    $ pnpm add @deepkit-graphql/yoga
    ```
  </Tab>
</Tabs>

## 2. Setup

```typescript theme={null}
import { YogaGraphQLModule } from '@deepkit-graphql/yoga';

await new App({
  imports: [new YogaGraphQLModule()],
}).run();
```

<Info>Remove `GraphQLModule` if it's already imported</Info>
