Skip to content

Latest commit

 

History

History
 
 

sdk

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WunderGraph SDK

wunderctl

The WunderGraph SDK is the easiest way to configure your WunderGraph applications. It's written in TypeScript and allows you to configure every aspect of your WunderGraph applications via Code.

WunderGraph follows best practices for infrastructure as code. Instead of complex configurations via graphical user interfaces, WunderGraph applications are primarily configured using code.

Your configuration can be stored alongside your application code in the .wundergraph directory, keeping your application code and the API configurations in sync.

Using your CI-CD system of choice, you can deploy your WunderGraph APIs at the same time you're deploying your application code. Go from development to production without touching a single button, simply git push and everything gets deployed.

The WunderGraph SDK works best in combination with the WunderGraph CLI, wunderctl, the Command Line Interface to initialize and run your local WunderGraph dev environment.

Getting Started

npx create-wundergraph-app <project-name> -E simple

Exports

Client

This is the base javascript implementation for all WunderGraph clients.

import { Client } from '@wundergraph/sdk/client';

Internal

This is only intended for internal plugin development. No api compatibility guarantees.

Warning: The api may change at any time.

import { visitJSONSchema } from '@wundergraph/sdk/internal';