When Grafbase launched, we offered a built-in, serverless database as core part of the product. Building a backend is hard and time consuming, and we wanted to make it as easy as possible for developers to deploy a GraphQL API with a database without worrying about infrastructure.
We have since learned that most companies prefer to bring their own database for more advanced use cases, security and compliance. We have therefore decided to focus our efforts on the core GraphQL product instead.
We will be sunsetting the Grafbase database on December 15, 2023. This means that the Grafbase database will continue to work until then, but we will not be adding any new features or fixing any major bugs. We will also be removing full-text search functionality, which is coupled to the database, on that date.
If you are using the Grafbase database, you will need to migrate your data to another database provider before December 15, 2023. We recommend using modern database providers like Neon, PlanetScale, MongoDB, EdgeDB, Turso or Fauna instead.
We built connectors to make it seamless to bring your own database to Grafbase. You can find the documentation for the connectors here.
Here's how simple it is to connect a Postgres database and instantly generate a GraphQL API from your database schema:
import { config, connector, graph } from '@grafbase/sdk'
const g = graph.Standalone()
const pg = connector.Postgres('pg', {
url: g.env('DATABASE_URL'),
})
g.datasource(pg)
export default config({ graph: g })
You can export your data from your Grafbase database by querying the GraphQL API and converting to CSV before importing to your database of choice. If you have any questions, please reach out to us on Discord.
If you need more time to migrate your data, please reach out to us on Discord. We will do our best to accommodate your needs.
We are excited to focus our efforts on the core GraphQL product. We have a lot of features shipping soon, including:
- Federation: Soon will be shipping support for GraphQL Federation. This will make it easier to build large scale GraphQL APIs with Grafbase.
- Grafbase Dashboard: We are working on a total revamp of the Grafbase Dashboard that ships soon.
- Grafbase Enterprise: Many of our customers have asked for an on-premise version of Grafbase. We are working on a Grafbase Enterprise version that will ship early next year.