Skip to content

Commit

Permalink
Revert "PostGraphile support"
Browse files Browse the repository at this point in the history
This reverts commit 04c13b9.
  • Loading branch information
abernatskiy committed Mar 23, 2024
1 parent 04c13b9 commit c643b48
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 22 deletions.
4 changes: 0 additions & 4 deletions docs/cloud/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ Make sure to check our [best practices guide](/cloud/resources/best-practices) b
Consider our [RPC proxy service](/cloud/resources/rpc-proxy) if your squid requires an endpoint.
:::

:::info
Squids that use [PostGraphile](https://www.graphile.org/postgraphile/) to serve their GraphQL APIs must be able to serve status queries. Visit the [PostGraphile support](/cloud/resources/postgraphile) page to learn more.
:::

## 0. Install Squid CLI

Follow [this guide](/squid-cli/installation), including the optional authentication steps.
Expand Down
15 changes: 0 additions & 15 deletions docs/cloud/resources/postgraphile.md

This file was deleted.

3 changes: 2 additions & 1 deletion docs/sdk/how-to-start/squid-from-scratch.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ Suppose the task is to track transfers of USDT on Ethereum, then save the result

* `@subsquid/evm-processor` - for retrieving Ethereum data
* the triad of `@subsquid/typeorm-store`, `@subsquid/typeorm-codegen` and `@subsquid/typeorm-migration` - for saving data to PostgreSQL
* `@subsquid/graphql-server`

We also assume the following choice of _optional_ packages:

* `@subsquid/evm-typegen` - for decoding Ethereum data and useful constants such as event topic0 values
* `@subsquid/archive-registry` - for retrieving the URLs of [open private network](/subsquid-network/overview/#open-private-network) EVM [datasets](/subsquid-network/reference/evm-networks)* `@subsquid/graphql-server`
* `@subsquid/archive-registry` - for retrieving the URLs of [open private network](/subsquid-network/overview/#open-private-network) EVM [datasets](/subsquid-network/reference/evm-networks)

To make the indexer, follow these steps:

Expand Down
2 changes: 0 additions & 2 deletions docs/sdk/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ Squids that store their data in PostgreSQL can subsequently make it available as

The [server](/sdk/resources/graphql-server) runs as a separate process. [Core API](/sdk/reference/openreader) is automatically derived from the database schema; it is possible to extend it with [custom queries](/sdk/resources/graphql-server/custom-resolvers) and [basic access control](/sdk/resources/graphql-server/authorization).

Keep in mind that `@subsquid/graphql-server` is not the only option for creating squid-based GraphQL APIs - you are free to use third-party tools like PostGraphile and Hasura.

### Misc utilities

```mdx-code-block
Expand Down

0 comments on commit c643b48

Please sign in to comment.