Grafbase

CLI letters

Get your local development environment up and running in seconds. Combined with the TypeScript SDK, Grafbase is the fastest way to build and deploy a GraphQL API.

Keyboard with C L I lettersKeyboard with C L I letters

Initialize

Get started quickly by bootstrapping your graph.

Develop

Start your local dev server.

srconmain
npx grafbasesubgraphs
Grafbase CLI
Subgraphs in branch "main":
-products
-catalog
-reviews
srconmain
npx grafbaselogs
Grafbase CLI
2024-02-08T13:52:00.425+01:00 query GetProduct 83ms
2024-02-08T13:52:44.630+01:00 query Products 48ms
2024-02-08T13:53:00.556+01:00 query Search 83ms
2024-02-08T13:53:31.246+01:00 query GetProduct 52ms
srconmain
npx grafbaseintrospect
Grafbase CLI
type Product implements Node {
  id: ID!
  title: String!
  description: String
  createdAt: DateTime!
}

Deploy

Go from local to production in seconds.

Documentation

Learn more about the Grafbase CLI in the documentation.